Timed redirect of web page

  • Thread starter Thread starter Lloyd Sheen
  • Start date Start date
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
 
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.
 
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.
 
Back
Top