473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Session Timeout Problem

The web.config in my asp.net application, running on Server2003, has this
entry: <sessionState mode="InProc" timeout="40".
In IIS the asp.net State Management timeout setting is 40 for my website.
In IIS the virtual directory configuration setting is set to 40.

The application still timesout at 20 minutes.

What else can I do?

--
Regards,
Gary Blakely
May 31 '07 #1
14 2264
set the timeout on page load, see if that helps.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eG**************@TK2MSFTNGP03.phx.gbl...
The web.config in my asp.net application, running on Server2003, has this
entry: <sessionState mode="InProc" timeout="40".
In IIS the asp.net State Management timeout setting is 40 for my website.
In IIS the virtual directory configuration setting is set to 40.

The application still timesout at 20 minutes.

What else can I do?

--
Regards,
Gary Blakely


May 31 '07 #2
you probably have asp.net configured to shutdown after 20 mins of idle.
this causes a recycle which loses all session data.

if you use inproc session, you will sometimes lose session data due to a
recycle, so your site should be coded to handle this case.

-- bruce (sqlwork.com)

GaryDean wrote:
The web.config in my asp.net application, running on Server2003, has this
entry: <sessionState mode="InProc" timeout="40".
In IIS the asp.net State Management timeout setting is 40 for my website.
In IIS the virtual directory configuration setting is set to 40.

The application still timesout at 20 minutes.

What else can I do?
May 31 '07 #3
Hi Gary,

As you mentioned that you've used three session setting, then what's the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

May 31 '07 #4
Could you be a little more specific?
I have asp.net configured to shutdown after 20 mins? where? how?
"site should be coded to handle this case? how?

--
Regards,
Gary Blakely
"bruce barker" <no****@nospam.comwrote in message
news:uu**************@TK2MSFTNGP06.phx.gbl...
you probably have asp.net configured to shutdown after 20 mins of idle.
this causes a recycle which loses all session data.

if you use inproc session, you will sometimes lose session data due to a
recycle, so your site should be coded to handle this case.

-- bruce (sqlwork.com)

GaryDean wrote:
>The web.config in my asp.net application, running on Server2003, has this
entry: <sessionState mode="InProc" timeout="40".
In IIS the asp.net State Management timeout setting is 40 for my website.
In IIS the virtual directory configuration setting is set to 40.

The application still timesout at 20 minutes.

What else can I do?

May 31 '07 #5
Steven,
you ask "what's the actual session mode you use now" not sure I understand
your question. In my original post I stated the session settings in my
web.config and the setting is IIS. every conceivable setting I know of says
40 minutes but the application timesout after 20 minutes.

--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:MZ**************@TK2MSFTNGHUB02.phx.gbl...
Hi Gary,

As you mentioned that you've used three session setting, then what's the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.

May 31 '07 #6
re:
!every conceivable setting I know of says
!40 minutes but the application timesout after 20 minutes.

Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
Steven,
you ask "what's the actual session mode you use now" not sure I understand your question. In my
original post I stated the session settings in my web.config and the setting is IIS. every
conceivable setting I know of says 40 minutes but the application timesout after 20 minutes.

--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:MZ**************@TK2MSFTNGHUB02.phx.gbl...
>Hi Gary,

As you mentioned that you've used three session setting, then what's the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.


May 31 '07 #7
re:
!I have asp.net configured to shutdown after 20 mins? where? how?

20 minutes is the default.
If you don't have a timeout configured...you'll get a 20 minute timeout.

To get back to the problem, are you using Forms Authentication ?
Could *that* be set to 20 minutes ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Could you be a little more specific?
I have asp.net configured to shutdown after 20 mins? where? how?
"site should be coded to handle this case? how?

--
Regards,
Gary Blakely
"bruce barker" <no****@nospam.comwrote in message news:uu**************@TK2MSFTNGP06.phx.gbl...
>you probably have asp.net configured to shutdown after 20 mins of idle. this causes a recycle
which loses all session data.

if you use inproc session, you will sometimes lose session data due to a recycle, so your site
should be coded to handle this case.

-- bruce (sqlwork.com)

GaryDean wrote:
>>The web.config in my asp.net application, running on Server2003, has this entry: <sessionState
mode="InProc" timeout="40".
In IIS the asp.net State Management timeout setting is 40 for my website.
In IIS the virtual directory configuration setting is set to 40.

The application still timesout at 20 minutes.

What else can I do?


May 31 '07 #8
I believe that timeout default is 30, but yes I also set the Forms
Authentication timout to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
re:
!every conceivable setting I know of says
!40 minutes but the application timesout after 20 minutes.

Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
>Steven,
you ask "what's the actual session mode you use now" not sure I
understand your question. In my original post I stated the session
settings in my web.config and the setting is IIS. every conceivable
setting I know of says 40 minutes but the application timesout after 20
minutes.

--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:MZ**************@TK2MSFTNGHUB02.phx.gbl...
>>Hi Gary,

As you mentioned that you've used three session setting, then what's the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.



Jun 1 '07 #9
If you have set all the timeouts to 40, and the app is still losing the session variables
at 20, then either the app is recycling at 20 or the application pool is recycling at 20.

Have you attempted to set a different recycling threshold in the IIS Manager ?

Also, have you tried to use State Server, instead of InProc ?

State Server, as does SQL Server, gets around the loss of
session variables due to Application/App Pool recycling.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eb****************@TK2MSFTNGP05.phx.gbl...
>I believe that timeout default is 30, but yes I also set the Forms Authentication timout to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>re:
!every conceivable setting I know of says
!40 minutes but the application timesout after 20 minutes.

Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
>>Steven,
you ask "what's the actual session mode you use now" not sure I understand your question. In
my original post I stated the session settings in my web.config and the setting is IIS. every
conceivable setting I know of says 40 minutes but the application timesout after 20 minutes.

--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:MZ**************@TK2MSFTNGHUB02.phx.gbl.. .
Hi Gary,

As you mentioned that you've used three session setting, then what's the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.



Jun 1 '07 #10
I've goolged and looked everywhere I can and I can't find anything on
"recycling threshold settings" in IIS. My original question at the
beginning of this thread stands.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OO****************@TK2MSFTNGP03.phx.gbl...
If you have set all the timeouts to 40, and the app is still losing the
session variables
at 20, then either the app is recycling at 20 or the application pool is
recycling at 20.

Have you attempted to set a different recycling threshold in the IIS
Manager ?

Also, have you tried to use State Server, instead of InProc ?

State Server, as does SQL Server, gets around the loss of
session variables due to Application/App Pool recycling.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eb****************@TK2MSFTNGP05.phx.gbl...
>>I believe that timeout default is 30, but yes I also set the Forms
Authentication timout to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
>>re:
!every conceivable setting I know of says
!40 minutes but the application timesout after 20 minutes.

Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
Steven,
you ask "what's the actual session mode you use now" not sure I
understand your question. In my original post I stated the session
settings in my web.config and the setting is IIS. every conceivable
setting I know of says 40 minutes but the application timesout after 20
minutes.

--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:MZ**************@TK2MSFTNGHUB02.phx.gbl. ..
Hi Gary,
>
As you mentioned that you've used three session setting, then what's
the
actual session mode you use now, inproc one? I suggeset you create a
simplified application and use inproc session to verify the behavior.
>
Sincerely,
>
Steven Cheng
>
Microsoft MSDN Online Support Lead
>
>
This posting is provided "AS IS" with no warranties, and confers no
rights.
>




Jun 1 '07 #11
no, it's set to 40. Everythingis set to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
re:
!I have asp.net configured to shutdown after 20 mins? where? how?

20 minutes is the default.
If you don't have a timeout configured...you'll get a 20 minute timeout.

To get back to the problem, are you using Forms Authentication ?
Could *that* be set to 20 minutes ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>Could you be a little more specific?
I have asp.net configured to shutdown after 20 mins? where? how?
"site should be coded to handle this case? how?

--
Regards,
Gary Blakely
"bruce barker" <no****@nospam.comwrote in message
news:uu**************@TK2MSFTNGP06.phx.gbl...
>>you probably have asp.net configured to shutdown after 20 mins of idle.
this causes a recycle which loses all session data.

if you use inproc session, you will sometimes lose session data due to a
recycle, so your site should be coded to handle this case.

-- bruce (sqlwork.com)

GaryDean wrote:
The web.config in my asp.net application, running on Server2003, has
this entry: <sessionState mode="InProc" timeout="40".
In IIS the asp.net State Management timeout setting is 40 for my
website.
In IIS the virtual directory configuration setting is set to 40.

The application still timesout at 20 minutes.

What else can I do?



Jun 1 '07 #12
In Windows Server 2003, you can set the recycling threshhold
for the Application Pool in which an application runs.

In the IIS Manager, scroll down the left hand panel to "Application Pools",
and select the Application Pool in which your app runs.

Right-click the App Pool and select "Properties" from the context menu.

You'll see several options for setting the time/memory limit/number of requests
at which the application pool will be recycled.

Just make sure your time setting isn't set too low.
Leave the rest untouched until you are familiar with the settings.

You don't say whether you tried using State Server.

!Also, have you tried to use State Server, instead of InProc state management?

!State Server state management, as does SQL Server, gets around
!the loss of session variables due to Application/App Pool recycling.

Just configure it in web.config :

<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
stateNetworkTimeout="10"
cookieless="false"
timeout="20"
/>

....and in the "Services" applet of the W2K3 Server, start the State Server service.

That usually works to prevent Session variable losses.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eY**************@TK2MSFTNGP02.phx.gbl...
I've goolged and looked everywhere I can and I can't find anything on "recycling threshold
settings" in IIS. My original question at the beginning of this thread stands.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OO****************@TK2MSFTNGP03.phx.gbl...
>If you have set all the timeouts to 40, and the app is still losing the session variables
at 20, then either the app is recycling at 20 or the application pool is recycling at 20.

Have you attempted to set a different recycling threshold in the IIS Manager ?

Also, have you tried to use State Server, instead of InProc ?

State Server, as does SQL Server, gets around the loss of
session variables due to Application/App Pool recycling.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eb****************@TK2MSFTNGP05.phx.gbl...
>>>I believe that timeout default is 30, but yes I also set the Forms Authentication timout to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl...
re:
!every conceivable setting I know of says
!40 minutes but the application timesout after 20 minutes.

Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
Steven,
you ask "what's the actual session mode you use now" not sure I understand your question. In
my original post I stated the session settings in my web.config and the setting is IIS. every
conceivable setting I know of says 40 minutes but the application timesout after 20 minutes.
>
--
Regards,
Gary Blakely
"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:MZ**************@TK2MSFTNGHUB02.phx.gbl.. .
>Hi Gary,
>>
>As you mentioned that you've used three session setting, then what's the
>actual session mode you use now, inproc one? I suggeset you create a
>simplified application and use inproc session to verify the behavior.
>>
>Sincerely,
>>
>Steven Cheng
>>
>Microsoft MSDN Online Support Lead
>>
>>
>This posting is provided "AS IS" with no warranties, and confers no rights.
>>
>
>




Jun 2 '07 #13
Juan,
That was it. The other settings had already extended my Session.timeout but
then we were getting null session variables after 20 minutes. I didn't try
State Server because we just don't need it now for this low-arrival rate
app.

Thank you very much for your help on this issue.

Regards,
Gary Blakely

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
In Windows Server 2003, you can set the recycling threshhold
for the Application Pool in which an application runs.

In the IIS Manager, scroll down the left hand panel to "Application
Pools",
and select the Application Pool in which your app runs.

Right-click the App Pool and select "Properties" from the context menu.

You'll see several options for setting the time/memory limit/number of
requests
at which the application pool will be recycled.

Just make sure your time setting isn't set too low.
Leave the rest untouched until you are familiar with the settings.

You don't say whether you tried using State Server.

!Also, have you tried to use State Server, instead of InProc state
management?

!State Server state management, as does SQL Server, gets around
!the loss of session variables due to Application/App Pool recycling.

Just configure it in web.config :

<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
stateNetworkTimeout="10"
cookieless="false"
timeout="20"
/>

...and in the "Services" applet of the W2K3 Server, start the State Server
service.

That usually works to prevent Session variable losses.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eY**************@TK2MSFTNGP02.phx.gbl...
>I've goolged and looked everywhere I can and I can't find anything on
"recycling threshold settings" in IIS. My original question at the
beginning of this thread stands.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OO****************@TK2MSFTNGP03.phx.gbl...
>>If you have set all the timeouts to 40, and the app is still losing the
session variables
at 20, then either the app is recycling at 20 or the application pool is
recycling at 20.

Have you attempted to set a different recycling threshold in the IIS
Manager ?

Also, have you tried to use State Server, instead of InProc ?

State Server, as does SQL Server, gets around the loss of
session variables due to Application/App Pool recycling.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eb****************@TK2MSFTNGP05.phx.gbl.. .
I believe that timeout default is 30, but yes I also set the Forms
Authentication timout to 40.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl.. .
re:
!every conceivable setting I know of says
!40 minutes but the application timesout after 20 minutes.
>
Including the Forms Authentication timeout ( if you're using that ? ).
*That* defaults to 20 minutes, too.
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl.. .
>Steven,
>you ask "what's the actual session mode you use now" not sure I
>understand your question. In my original post I stated the session
>settings in my web.config and the setting is IIS. every conceivable
>setting I know of says 40 minutes but the application timesout after
>20 minutes.
>>
>--
>Regards,
>Gary Blakely
>"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
>news:MZ**************@TK2MSFTNGHUB02.phx.gbl. ..
>>Hi Gary,
>>>
>>As you mentioned that you've used three session setting, then what's
>>the
>>actual session mode you use now, inproc one? I suggeset you create
>>a
>>simplified application and use inproc session to verify the
>>behavior.
>>>
>>Sincerely,
>>>
>>Steven Cheng
>>>
>>Microsoft MSDN Online Support Lead
>>>
>>>
>>This posting is provided "AS IS" with no warranties, and confers no
>>rights.
>>>
>>
>>
>
>




Jun 3 '07 #14
re:
!Juan,
!That was it.

Glad to hear that!

re:
!Thank you very much for your help on this issue.

You're quite welcome. Glad to know you're up and running trouble-free again.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Juan,
That was it. The other settings had already extended my Session.timeout but then we were getting
null session variables after 20 minutes. I didn't try State Server because we just don't need it
now for this low-arrival rate app.

Thank you very much for your help on this issue.

Regards,
Gary Blakely

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:el**************@TK2MSFTNGP05.phx.gbl...
>In Windows Server 2003, you can set the recycling threshhold
for the Application Pool in which an application runs.

In the IIS Manager, scroll down the left hand panel to "Application Pools",
and select the Application Pool in which your app runs.

Right-click the App Pool and select "Properties" from the context menu.

You'll see several options for setting the time/memory limit/number of requests
at which the application pool will be recycled.

Just make sure your time setting isn't set too low.
Leave the rest untouched until you are familiar with the settings.

You don't say whether you tried using State Server.

!Also, have you tried to use State Server, instead of InProc state management?

!State Server state management, as does SQL Server, gets around
!the loss of session variables due to Application/App Pool recycling.

Just configure it in web.config :

<sessionState
mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
stateNetworkTimeout="10"
cookieless="false"
timeout="20"
/>

...and in the "Services" applet of the W2K3 Server, start the State Server service.

That usually works to prevent Session variable losses.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eY**************@TK2MSFTNGP02.phx.gbl...
>>I've goolged and looked everywhere I can and I can't find anything on "recycling threshold
settings" in IIS. My original question at the beginning of this thread stands.

--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OO****************@TK2MSFTNGP03.phx.gbl.. .
If you have set all the timeouts to 40, and the app is still losing the session variables
at 20, then either the app is recycling at 20 or the application pool is recycling at 20.

Have you attempted to set a different recycling threshold in the IIS Manager ?

Also, have you tried to use State Server, instead of InProc ?

State Server, as does SQL Server, gets around the loss of
session variables due to Application/App Pool recycling.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"GaryDean" <Ga******@newsgroups.nospamwrote in message
news:eb****************@TK2MSFTNGP05.phx.gbl. ..
>I believe that timeout default is 30, but yes I also set the Forms Authentication timout to 40.
>
--
Regards,
Gary Blakely
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2***************@TK2MSFTNGP05.phx.gbl. ..
>re:
>!every conceivable setting I know of says
>!40 minutes but the application timesout after 20 minutes.
>>
>Including the Forms Authentication timeout ( if you're using that ? ).
>*That* defaults to 20 minutes, too.
>>
>>
>>
>Juan T. Llibre, asp.net MVP
>asp.net faq : http://asp.net.do/faq/
>foros de asp.net, en español : http://asp.net.do/foros/
>======================================
>"GaryDean" <Ga******@newsgroups.nospamwrote in message
>news:O$**************@TK2MSFTNGP04.phx.gbl. ..
>>Steven,
>>you ask "what's the actual session mode you use now" not sure I understand your question.
>>In my original post I stated the session settings in my web.config and the setting is IIS.
>>every conceivable setting I know of says 40 minutes but the application timesout after 20
>>minutes.
>>>
>>--
>>Regards,
>>Gary Blakely
>>"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
>>news:MZ**************@TK2MSFTNGHUB02.phx.gbl ...
>>>Hi Gary,
>>>>
>>>As you mentioned that you've used three session setting, then what's the
>>>actual session mode you use now, inproc one? I suggeset you create a
>>>simplified application and use inproc session to verify the behavior.
>>>>
>>>Sincerely,
>>>>
>>>Steven Cheng
>>>>
>>>Microsoft MSDN Online Support Lead
>>>>
>>>>
>>>This posting is provided "AS IS" with no warranties, and confers no rights.
>>>>
>>>
>>>
>>
>>
>
>




Jun 3 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: DavidS | last post by:
First: There are several ways to confuse one regarding session timeout. (1) web.config - <sessionState timeout="20"> (2) IIS Manager | Internet Information Services | ServerNode | Default Web Site...
5
by: fbwhite | last post by:
I know this issue has been brought up many times, but I have tried many of the solutions to no avail. I wanted to give my specific case to see if someone could be of any help. We are using the...
5
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
8
by: bdeviled | last post by:
I am deploying to a web environment that uses load balancing and to insure that sessions persist across servers, the environment uses SQL to manage sessions. The machine.config file determines how...
17
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
2
by: Rajesh.jain25 | last post by:
Hi, I am facing a problem of automatic session timeout problem and automatic session_end event fired. Case1: As I have analyzed I get to know that the default session timeout is 20 in...
2
by: Tomas Martinez | last post by:
Hi, Well, my problem is so simple as it says in the subjet but very frustrating also. I have a project and it is losing the session variables with each postback, so I downloaded from the web a...
2
by: Orgil | last post by:
I'm using ASP 3.0 however there is ASP.NET, because I'm working an old site that is built in ASP 3.0. I hope you for getting any help for my problem from you. So, my site's sessions are empty...
4
by: thig95 | last post by:
Hi, I've got a web application written in ASP class with VBScript. We have a home grown conctact management system for my company that our users stay active in throughout the day. My problem lies...
6
by: ChrisAtWokingham | last post by:
I have been struggling with unexpected error messages on an ASP.NET system, using SQL and C#. The application draws organisation charts, based on data stored in the SQL database. Some of the chart...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.