Timeout metioned in this config file correct, your session should timeout in
20 mins. Machine.config setting will be overridden by settings in web.config
in virtual folder. So you no need to worry about that. But i have some doubt
in your question, you are talking about viewstate. But viewstate and session
are not related anyway. If you store some value in viewstate, it is stored
in hidden value which will exists till you post back. If i am not clear, get
back to me.
--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com
"Jim Heavey" <an*******@discussions.microsoft.com> wrote in message
news:4D**********************************@microsof t.com...
My session do not appear to be timing out. When I save something in
ViewState, my expectation is that if no interaction occurs within the
specified time, that the session variable would be null. Is that not the
case? Here are the parameters in my webconfig file....
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes" cookieless="false"
timeout="20"
/>
So why does it not time out? Or do I not understand timeout correctly?
Or is some value in the Machine.config overriding?
Thanks in advance for your assistance!!!!!!!!