Ask a Question related to ASP.NET General, Design and Development.
-
alien2_51 #1
Session timeout in .config file
I have an ASP.Net application running one level above the root web server.
The root web server is configured for a 60 min session timeout.
If I omit the timeout setting in the web.config eg..{
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
stateNetworkTimeout="10"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false"
<!--***remove this line --- timeout="20" -->
/>
}
for the nested virtual, should I expect to inherit the session timeout from
the parent, or retain the default (20 min)...?
desired result: Nested virtual inherits the parents session timeout (60 min)
??
alien2_51 Guest
-
Session Timeout
Hi, You can control when the session end by using the Session_onEnd event in global.asax. But when the session expired the user won’t make any... -
Web.config timeout
The user has indicated that the application seems to be kicking her out, even though she is sure that she is submitting a form faster than every 30... -
Can I set the Web.config <forms> element timeout value progmatically?
I am using Windows Forms authentication in my ASP.NET app. In Web.Config, I would like to set the timeout value in the <forms> element in C# code... -
Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now... -
config file: a) what Module ? b) conditionals in config (for multiple hosts)
Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right... -
Egbert Nierop \(MVP for IIS\) #2
Re: Session timeout in .config file
"alien2_51" <dan.billow@n.o.s.p.a.m.monacocoach.com> wrote in message
news:uzWsdrXTDHA.2004@TK2MSFTNGP11.phx.gbl...Hi> I have an ASP.Net application running one level above the root web server.
> The root web server is configured for a 60 min session timeout.
Q316448 sais that this attribute is about SECONDS not about minutes. And it
is a per request timeout (between stateserver and webserver).
When you use StateServer mode in session state attributes, you can specify
an additional attribute, stateNetworkTimeout. This attribute specifies the
number of seconds that a Transmission Control Protocol/Internet Protocol
(TCP/IP) network request can be idle before the request times out.
So this attribute
< timeout="60" -->
Should not be removed :)
--
compatible web farm Session replacement for Asp and Asp.Net
[url]http://www.nieropwebconsult.nl/asp_session_manager.htm[/url]
id=sa;password="> If I omit the timeout setting in the web.config eg..{
> <sessionState
> mode="InProc"
> stateConnectionString="tcpip=127.0.0.1:42424"
> stateNetworkTimeout="10"
> sqlConnectionString="data source=127.0.0.1;userfrom> cookieless="false"
> <!--***remove this line --- timeout="20" -->
> />
> }
> for the nested virtual, should I expect to inherit the session timeoutYes, it should inherit. Unless it has it's own application settings.> the parent, or retain the default (20 min)...?
min)> desired result: Nested virtual inherits the parents session timeout (60>
> ??
>
>Egbert Nierop \(MVP for IIS\) Guest



Reply With Quote

