Timed redirect of web page

L

Lloyd Sheen

I have a problem which I would think would be a common one. If the user
attempts to enter an ASP app in a screen which is not the logon (could get
it from history), I want to be able to do the following:

1. Find out if the user has logged in (completed)
2. Redirect to page indicating the problem (completed)
3. Once the page has displayed for 10 seconds redirect the user to the
logon screen. (the problem).

Lloyd
 
K

Kevin Spencer

Add a META Refresh tag to the <head> seciton of the page, as in the
following example:

<META HTTP-EQUIV="refresh" content="10;URL=http://www.yoursite.com/">

The first element of the "content" attribute is the delay interval in
seconds. The second is the URL to redirect to.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
L

Lloyd Sheen

Works great thanks.

Kevin Spencer said:
Add a META Refresh tag to the <head> seciton of the page, as in the
following example:

<META HTTP-EQUIV="refresh" content="10;URL=http://www.yoursite.com/">

The first element of the "content" attribute is the delay interval in
seconds. The second is the URL to redirect to.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

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,586
Members
45,087
Latest member
JeremyMedl

Latest Threads

Top