Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2007, 12:04 PM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Hannibal
Default session time out,when page breaks?

Hi..

I had published a website in the server( I am using VS 2005,ASP.NET2.0, With C#) . I tried testing the site by asking several users to login to the website and do unit testing. At one instance of time, the page breaks for a particular user. When the page breaks, the other users who are tesing in their machine are getting a session time-out and are forced to log out.

Why is such a session-time out issue happening, when one of the users page breaks. I have set the session variable to 20 minutes,which is the default. But what's confusing is , when one of the user's page breaks, the others get a session time-out? Why is such a session-time out occuring?

Please help.

Thanks.



 
Old July 12th, 2007, 08:37 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This behavior only makes sense if your application is doing something about it. A single breaking page should not cause ANY session time-outs even for the breaking user.

Are you doing anything with files in the web application directory when a break occurs such as writing a log file?

ASP.NET monitors the application directory for file activity. If your application causing some file update behavior (change to a file or new file, like a log) then ASP.NET might be resetting the application as a result which would dump all user session data. (This is a problem a lot of people encounter with live virus scanning tools.)

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Page breaks in a table aspless Classic ASP Basics 4 January 18th, 2008 01:39 PM
Page-Breaks when printing saf ASP.NET 2.0 Basics 0 May 2nd, 2007 07:00 AM
Page Breaks bcogney XML 10 March 29th, 2007 04:01 PM
Page breaks rupen HTML Code Clinic 1 October 4th, 2006 04:08 PM
Tables and Page Breaks MER78 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 October 12th, 2004 12:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.