Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
If I am using a cookie to manage session state, If I launch another IE from start menu what determines if that IE browser window will be using the session with cookie or it will be a new session?
Originally posted by Marty Hall:
If the user opens a new IE window from the Start Menu or desktop icon, that new IE window will not share the in-memory cookies with the old window, so thus will be in a new session from the Java perspective.
Suppose a user is filing a registration form which contains two or more pages. And if the user opens one more window and submitting two forms , how to track the user?
For example filing a tax returns which system doesnt want the user to submit twice.
If the user opens a new IE window from the old window's File menu or by hitting Control-N, that new IE window will share the in-memory cookies and will be part of the same Java session. [/list]
So if the user shares the same session, how to track the user?
Originally posted by mazha thulli:
Suppose a user is filing a registration form which contains two or more pages. And if the user opens one more window and submitting two forms , how to track the user?
For example filing a tax returns which system doesnt want the user to submit twice.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Pradeep Bhat:
I think she was talking about 2 concurrent submits.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Ko Ko Naing:
If so, we have to use the servlets, which implement SingleThreadModel. But for servlets not implementing the SingleThreadModel interface, if the
service method (or methods such as doGet or doPost which are dispatched to the service method of the HttpServlet abstract class) has been defined with the synchronized keyword....
It is strongly recommended that Developers not synchronize the service method (or methods dispatched to it) in these circumstances because of detrimental effects on performance....
Consider Paul's rocket mass heater. |