473,385 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Timed redirect of web page

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
Nov 18 '05 #1
2 3239
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.

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:SC********************@news04.bloor.is.net.ca ble.rogers.com...
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

Nov 18 '05 #2
Works great thanks.

"Kevin Spencer" <ke***@takempis.com> wrote in message
news:u5**************@TK2MSFTNGP10.phx.gbl...
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.

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message news:SC********************@news04.bloor.is.net.ca ble.rogers.com...
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


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andy | last post by:
Hi Gang Is there any way with ASP that I can tell if a user session has timed out? The problem is that we have a database app where a user session may time out. After this happens the user...
3
by: FN | last post by:
I know how to do an HTML content redirection (e.g. in 5 seconds you'll be redirec to...) but... I have a javascript countdown timer. It goes for a few hours. At the end, I want to dispaly...
0
by: Matt | last post by:
(can't find any of my previous post for same issue. please CC to my email address as well. Thanks!) Hi all, What is the possible reason that HttpWebRequest.GetRequestStream() may hang there...
2
by: William F. Robertson, Jr. | last post by:
Some of my users are receiving an error: Server Error in '/' Application. ---------------------------------------------------------------------------- ---- Request timed out. Description: An...
0
by: Jack Wright | last post by:
Dear All, I have a web Application "http://localhost/Web/WebForm1.aspx" that calls a WebService from "http://localhost/webserviceapp/service1.asmx"...I have set the executionTimeout to 10 secs in...
4
by: Joe | last post by:
I'm hosting my web service on a Windows 2003 box which is remotely located. When trying to add a web reference to a C# project I get an error message 'There was an error downloading...
0
by: Alex Papadimoulis | last post by:
Hey Group, I'm in the process of converting an ASP-based site to an ASP.NET site and built a control that wraps around an ASP page. The control simply does a GET to the same server to render the...
0
by: Alex Papadimoulis | last post by:
Hey Group, I'm in the process of converting an ASP-based site to an ASP.NET site and built a control that wraps around an ASP page. The control simply does a GET to the same server to render the...
10
by: Jim Underwood | last post by:
I am having a problem with my web page timng out while retrieving a long runnign report (90-120 seconds. I have tried modifying several settings in various places and cannot get it to run for more...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.