I need to control timeout values for each user. Im having trouble to make it work. When the session timouts out I want to redirect the user to the login page...cud anyone help me with this..
rohitmanhas_12
0
Light Poster
Recommended Answers
Jump to Post>When the session timouts out I want to redirect the user to the login page
Create a session key and check it on each request.
if(Session["key1"]==null) { Response.Redirect("~/Login.aspx"); }
All 3 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
rohitmanhas_12
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.