Session Timeout - Please Help Quick

  • Thread starter Thread starter BillGatesFan
  • Start date Start date
B

BillGatesFan

I set the session timeout to 45 in my web.config. But it is still
timing out at 20 minutes. What I'm I doing wrong?


Thanks
 
I set the session timeout to 45 in my web.config. But it is still
timing out at 20 minutes. What I'm I doing wrong?

Are you using authentication? If so, you need to set the timeout there as
well:

<system.web>
<authentication mode="Forms">
<forms ... timeout="45">

....

-Jimmy
 
Hi Mr.BillGatesFan,

I dont see any reason why this should happen. Can you plz double check the
issue you have raised. Anyway, You can set the Session timeout in Web.config
/ Machine.config / IIS.

1. Since you say that its not working in Web.config, maybe you can Set the
session timeout value in Machine.config..
**PS: settting it in machine.config will enforce the setting for the
complete machine (system). This might be OK, if this is the only website u
have in your machine...

2. Another way is that you can set the session timeout value in the virtual
directory ofyour IIS server...

HTH,

Need any help, do post a mag back...


Happy Coding
 
I have a similar problem. I thought I read (and answered) this same issue a
few minutes ago in another thread. But now, here it is again!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
I did not set the timeout appropriately in the authentication tag.
Thanks to all for your help. Pressure can cause you to overlook things
:)
 
Back
Top