Re: Timeout period not seeming to work correctly



I am still having the problem even with the fixes below.

The first part of my web.config is:

<configuration>
<system.web>
<customErrors mode="Off"/>
<sessionState
mode="InProc"
cookieless="false"
timeout="400"
/>
<authentication mode="Forms">
<forms name="staffing"
loginUrl="/applicant/EELogin.aspx"
timeout="400"
protection="All"
path="/" />
</authentication>

I have both forms and sessionState to timeout at 400 minutes.

The problem is that after about 20-30 minutes of just going back and forth
using the same page (as I am testing the page), all of a sudden all my
session variables are gone. They shouldn't be gone for hours.

What else am I missing?

I need to figure this out as we are going to be showing this to some people
and I don't want the page timing in 20 minutes.

Thanks,

Tom

"tshad" <tscheiderich@xxxxxxxxxxxxxxx> wrote in message
news:eI9ZJ7FbFHA.1088@xxxxxxxxxxxxxxxxxxxxxxx
> "Ronald Lemmen" <muis007@xxxxxxxxxxx> wrote in message
> news:1118243440.300634.81600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> You are probably getting the error because the web.config is
>> casesensitive. That means that you should not enter sessionstate, but
>> use sessionState instead.
>>
>
> That was it.
>
> I also had to use "InProc" instead of "inproc".
>
> I never could figure out what the problem was and was going to come back
> to it later.
>
> Thanks,
>
> Tom
>
>> Hope this helps,
>>
>> Ronald Lemmen
>>
>
>


.



Relevant Pages

  • Re: Cannot get Session State to work
    ... but I do not have an InProc entry in my web.config file. ... If you want to disable SessionState *or* enable a different sessionState ... in a configuration file or in the page directive. ... The section enables configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot get Session State to work
    ... If you want to disable SessionState *or* enable a different sessionState ... Juan T. Llibre, asp.net MVP ... in a configuration file or in the page directive. ... The section enables configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot get Session State to work
    ... but I do not have an InProc entry in my web.config file. ... If you want to disable SessionState *or* enable a different sessionState ... in a configuration file or in the page directive. ... The section enables configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • Cannot get Session State to work
    ... SessionState can only be used when EnableSessionState is set to true, ... in a configuration file or in the page directive. ... The section enables configuration ... of the security authentication mode used by ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Strange problem running app remotely
    ... >>server but when I upload to a remote server I get the error given at the ... >>configuration file located in the root directory of the current web ...
    (microsoft.public.dotnet.framework.aspnet)