Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Session Expires

Reply
Thread Tools

Session Expires

 
 
prash
Guest
Posts: n/a
 
      05-24-2004
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


 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      05-24-2004
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

"prash" <> a écrit dans le message de
news:%...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reference error when session expires TJS ASP .Net 2 09-13-2004 08:57 PM
Session never expires Daniel Geisenhoff ASP .Net 4 09-07-2004 10:08 AM
Form indetification session expires to early Shimon Sim ASP .Net 2 04-22-2004 09:58 AM
Why my session expires? And will a sessionID survive...? Welman Jordan ASP .Net 3 02-28-2004 01:10 PM
session expires quickly Rahul Kansara ASP .Net 2 11-11-2003 09:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57