ASPX Session Issue...
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.aspnet.mobile.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Srinivasan Swaminathan via .NET 247 (VIP)
How do I increase the session timeout in aspx.

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>e1WwE7Ix4EW6whKsA2M/qQ==</Id>
Reply to this message...
 
    
Raghavendra T V
HI Srinivasan,

You need to set your session timeout in your web.config.
<sessionState mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424" ... timeout="60"/>

Timeout = "60". This works regardless of your IIS setting described
below I believe.

Hope this helps you.

Thanks
Raghavendra

"Srinivasan Swaminathan via .NET 247" <Click here to reveal e-mail address> wrote in
message news:%Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
dave (VIP)
In order to set the session state in the web.config you need to make the
directory an application (virtual dir). My mobile pages sit in a
subdirectory of the main asp.net application.

The problem occurs when i make the sub dir and application. WHen i do this
I get an error like cannot access "myApp.ClassName" .
"myApp" is the root namespace of the main application. How can I set the
session timeout for a subdirectory of the application?
thx
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com