Session Expires

P

prash

hello all
I have an asp application which uses IIS 5 . I need to expire my session in
10 minutes .
I use session.expire=10 in my index.html page. when the session is expired
in 10 minutes i need to redirect the respons to the login page agein.
how can i do this
Please help me

/Thanks in advace
Prashantha
 
P

Patrice

This is done for each request. The likely usual scheme is :
- create a session variable (only for this purpose or use one that stores
the user id)
- on each request, if this variable is empty go to the login page

Of course, it's likely easier to have this in a file that is cinluded in all
pages...

Patrice
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top