|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
delayed redirect in asp
i'm trying to make an asp page to log out from a restricted part of the site, and i'd like it to say "you have been logged out" then redirect back to the login page after a 3 second delay. how can i do this with either java or vbscript?
|
|
#2
|
|||
|
|||
|
This will do wha tyou need and no javascript or vbscript in sight!
Code:
<HTML> <HEAD> <META HTTP-EQUIV="refresh" content="3;URL=http://www.WhereToRedirectTo.com/ThePage.html"> <TITLE>Logged out</TITLE> </HEAD> <BODY> You have been logged out. If your browser does not automatically redirect you in a few seconds, click <A HREF="http://www.WhereToRedirectTo.com/ThePage.html">here</A>. </BODY> </HTML> Code:
<META HTTP-EQUIV="refresh" content="3;URL=http://www.WhereToRedirectTo.com/ThePage.html"> The 3 is the Number of seconds and of course the address is the page to redirect to. |
|
#3
|
||||
|
||||
|
thx defjamninja. i actually already knew how to do that, i just fixated on doing it w/ a script and never even thought about it. trying to be too fancy. your solution worked perfectly
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > delayed redirect in asp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|