As well as the rules for session management.

Wade Chandler wrote:
I think you need to read up on the java language a
bit. See what static and final mean.
Wade

--- Raghaw Goswami <[EMAIL PROTECTED]> wrote:


Thanks for the e-mail:
First time it was 0 , then 1 , This is when the
browser was closed and opened then it never
incremented was always 0 when browser was closed and
opened.
I am attaching the Showsession.java file for
reference. May be i am missing some thing  if the
variable is made static how can its value increment
?

R

--- Arup Vidyerthy <[EMAIL PROTECTED]> wrote:


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:[EMAIL PROTECTED] 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:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


        
        
                


___________________________________________________________

Yahoo! Messenger - NEW crystal clear PC to PC
calling worldwide with voicemail
http://uk.messenger.yahoo.com



---------------------------------------------------------------------

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around http://mail.yahoo.com
---------------------------------------------------------------------

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:

[EMAIL PROTECTED]


---------------------------------------------------------------------
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]

Reply via email to