Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Caching / October 2003

Tip: Looking for answers? Try searching our database.

application timing out before session.timeout value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mahesh - 15 Oct 2003 15:37 GMT
Hi Jacob,
Wondering if you can help with this problem. We have
asp.net web app. Session.Timeout = 20minutes. But the
application is timing out before 20mnts and it is random
value. Sometimes 15mnts, some 12 and some 10. Once it has
timed out, any hyperlink click on the page will redirect
the user to the login page.

Thanks
mahesh
Alvin Bruney - 16 Oct 2003 03:40 GMT
what is your idle timeout value set to? you need to look at your application
event log to find out if the application is being recycled. this will cause
you to lose session state. from there you can quickly pin down the cause.

> Hi Jacob,
> Wondering if you can help with this problem. We have
[quoted text clipped - 6 lines]
> Thanks
> mahesh
Mahesh - 16 Oct 2003 15:09 GMT
Thanks for replying Alvin. I did not see any application
log being created for our application yet. I'm trying to
monitor by debugging thru' global.asax.cs file, in the
methods session_start and session_end.  Sometimes
session_end method gets executed, after which the browser
gets back the focus. If I click any link, it lets me to
secured pages. So session is still valid. Then why did it
execute session_end method. Sometimes, I click on the
link which puts me back to login page indication session
ended, but session_end method is yet to execute.

We have session.timeout = 20 in web.config and in IIS
same value for this web app.

Do you mean to say create a new event log from
global.asax.cs file to log the events, or something else?
Where would I log the entry, if the session is being
recycled? Which method gets triggered at that time?

thanks
mahesh

>-----Original Message-----
>what is your idle timeout value set to? you need to look at your application
[quoted text clipped - 13 lines]
>
>.
Alvin Bruney - 17 Oct 2003 06:23 GMT
type
   eventvwr
at a command prompt and examine the application logs looking for recycle
events
> Thanks for replying Alvin. I did not see any application
> log being created for our application yet. I'm trying to
[quoted text clipped - 41 lines]
> >
> >.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.