Of corse it doesn't. If you close the browser you are killing the
session. So when the browser reopens it is getting a new session
object. This is exactly how it is supposed to work. You might be be
able to store the value in a cookie, but if the user blocks them or has
set their browser to delete cookies at the end of the session as most do
then that will not work either.
Raghaw Goswami wrote:
Hi,
I have JDK 1.5 [J2SE 5.0 update 3], Tomcat 5.5.9,Win
XP SP2, Trying a e.g. session tracking [The Session
Tracking API] using HttpSession object.
The program works[ accessCount increments] when I
don't close the current browser and open new brwoser
with CTRL + N, But if i quit the browser and then
start again
accessCount does not increment.
Would appreciate any help in this regards
Thanks in Advance
R.
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brian Cook
Digital Services Analyst
Print Time Inc.
[EMAIL PROTECTED]
913.345.8900
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]