Advertisement

04.29.2008 at 09:33PM PDT, ID: 23364405
[x]
Attachment Details

Session timing out too soon and too often

Asked by stone5150 in Programming for ASP.NET

I have a fairly complex ASP.NET web app that I bought, but there is no support available for it. It works pretty well, except that the session times out too often and won't let you log back in for a while after the session times out. I know a little about ASP, but not enough apparently to find the code that controls this.

The few things I do know is that it uses cookies and another bit of code I am not sure exactly what it does (both listed below). Changing those doesn't seem to have any effect on anything.

Is there something else I should look for? Start Free Trial
1:
2:
3:
4:
5:
6:
Response.Cookies("NickName").Expires = DateAdd("d", -1, Date)
 
 
If trim(Session("UserID")) = "" then
	Response.Redirect("./timeout.asp")
	Response.end
[+][-]04.29.2008 at 09:44PM PDT, ID: 21468134

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 10:09PM PDT, ID: 21468221

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.29.2008 at 10:32PM PDT, ID: 21468294

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 11:00PM PDT, ID: 21468375

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 11:28PM PDT, ID: 21468480

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 11:32PM PDT, ID: 21468498

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Sign Up Now!
Solution Provided By: rowansmith
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906