Session.Timeout

V

Vanessa

hi everyone,

I changed the login session timeout from default 20 to 30 minutes, like
following:
Session.Timeout = 30

But it doesn't work. I logged into my webpage, let it be inactived for 25
mins, and clicked on some links but the session expires already. Any one has
cues? I put this line on the check login file after checking submitted
username and password and before defining all session variables.
 
S

Sammie

The Session.Timeout should be placed in all the asp files that are used
after login and not in the login file.
 
B

Bruno Alexandre

you can always place session.timeout on global.asa (session_start) file
on your website root

with this technic when a user enters in the website, the IIS give to
his session the session.timeout on global.asa... you do not need to add
it to all your single pages...

session.lcid is most used in global.asa to. :)
 
V

Vanessa

I have tried putting session.timeout=30 in one of my asp files for testing
but it still kicked me out after like 15-20 mins.

And then I checked my global.asa file, it has session.timeout=120, but
obviously it doesn't work as well!

Any Help Please.....
 
E

Evertjan.

=?Utf-8?B?VmFuZXNzYQ==?= wrote on 01 feb 2006 in
microsoft.public.inetserver.asp.general:
[please do not toppost on usenet]
I have tried putting session.timeout=30 in one of my asp files for
testing but it still kicked me out after like 15-20 mins.

Please show the code
And then I checked my global.asa file, it has session.timeout=120, but
obviously it doesn't work as well!

Please show the code, where you did put this.
 

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

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top