Forums Register Login

session handling

+Pie Number of slices to send: Send
i need to handle session in my project.

i ma using this logic

+Pie Number of slices to send: Send
I don't understand the random formatting--formatting is actually important, as it makes understanding overall structure really easy:While it's hard to tell, you might be setting the user to something even if they're not a new user.

But I'm not clear on what the question is since you didn't actually ask one--were you asking if this was one way to do it?
+Pie Number of slices to send: Send
it is simple thing.
if user log into system and after sometime he try to come back.
after 10 minutes.
then already session is there .so he doesn't need to ask username of password.
automatically goes to the welcome page.

but if there is no any session actively he need to provide username and password to log in.

i need to impliment this facility.
can anyone help me?
+Pie Number of slices to send: Send
first of all, *define* the new user .
+Pie Number of slices to send: Send
what is the mean define the user?
+Pie Number of slices to send: Send
new user means there is no any session related to this user available.
so we need to check database tables for authentication.
old user means there is session available for this user.so no need to check databse.
+Pie Number of slices to send: Send
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/Code/login/LoginServlet.java

i found this tutorial.but it is very comple.
1)can anyone give me simple and complete exaple?
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1066 times.
Similar Threads
problem in retreiving value
Session tracking
always print old session
Same user different browser window ? new seesion or old one?
Session
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:44:07.