Session Variable timeout.

S

Serge

Good Day Folks,

I'm struggling with getting session variable to live longer than 20mins. I
have the following web.config file in the application folder, specifying a
timeout of 480mins.

<configuration>
<system.web>
<sessionState
mode="InProc"
cookieless="false"
timeout="480" />
</system.web>
</configuration>


When the user logs into my program I execute the following code.

Session("menuAppUserid")=p_userid
Session("menuAppPassword")=p_password

To be redundant, I've also set the session timeout at 480mins for the
application folder in IIS Manager.

Doing all this, my session variables expire after 20mins. I'm at a loss as
to why nothing works.

Any ideas ?
Thanks in advance
/Serge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top