Does it not increment at all or does the increment counter gets reset and
starts all over again from 0. Basically if you want to keep the counter
incrementing everytime you access that page (or hit that that servlet) you
need to make it a static variable in your servlet/jsp.
-----Original Message-----
From: Raghaw Goswami [mailto:raghaw@yahoo.com]
Sent: 19 August 2005 14:46
To: tomcat-user@jakarta.apache.org
Subject: Session Tracking
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
|