Hi,
I am new in java servlets. I want to know the concept behind the
session handling. I read few books, sun documentation but i couldnt
understand things properly.
1)My goal is, if there are 100 users. Each one logs everyday.
I want to assign an unique session_id to each user when he logs and to
store in a variable. And i want to get the count, times he logs into the
page.
How do i achieve my above goal?
2) I want to check before sending any response to the browser, wether he
logged before
or new one. If it is a new one i need to create another session_id for him.
if he is old one, i just want to increment the count.
How do i check its a new or old user?
3) what happens if the session_id is inactive for many days
Does it effect the other users performance.
OR
4)is there anyway that i can make it inactive and after few days if user
logs again, can i
make it active.
5)can i track the user is on what page or left the site by using session_id.
If no whats the
way to find user left my page.
6)is it fine to get the session_id at the beginning of the servlet code or
at any point of code.
Does it matter.
Thank you
Srikanth Patibanda
IT Specialist
Entergy Corporation
Ph: (W)504-576-5444
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html