Click here to Skip to main content
15,906,625 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to know the best way to carry user id all over the application untill the application end ,i.e user log out.
As of now I am using this way--
1)user logged in
2)his user id is stored in session
3)every page of that app is accessing the session
4)on logout,clear the session

Main problem is session timeout which I think can not be prevented and the session timeout event not fully in my hand.It is also dependent on server.Because each time on each page I set the expire time of session to 24 hrs,but it destroys in 1 minute in some server and 10 minutes in another server.

so pleaSE tell me how the practical web application uses the user credential storing method.

Please don't mention cookies.old browser do not support it by default.
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900