473,396 Members | 1,714 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,396 software developers and data experts.

Timelimit of showing ASP.NET Page

Hello!

Please could someone advice me, is it possible to show an ASP.NET page for a
user say for 5 minutes and after this time has passed the user would be
redirected to another page?

Thanks.

Peter
Nov 19 '05 #1
2 910
There is nothing you have for asp.net, this is just HTML using a meta tag

<meta HTTP-EQUIV="REFRESH" content="0;
url=http://www.yourdomain.com/index.html">

Content="0" => 0 is the number of seconds
Content="300" => is 300 seconds (5 min)

This will go in your <head> of the aspx page
"Peter" wrote:
Hello!

Please could someone advice me, is it possible to show an ASP.NET page for a
user say for 5 minutes and after this time has passed the user would be
redirected to another page?

Thanks.

Peter

Nov 19 '05 #2
Hello Tampa,

You could also use the Javascript function setTimeout:

setTimeout("your_redirect_function()",300000);

But don´t rely on client side code, you should also provide a link if the
user´s browser fails to perform the redirection.

Greetings!
-----
Ariel Popovsky

There is nothing you have for asp.net, this is just HTML using a meta
tag

<meta HTTP-EQUIV="REFRESH" content="0;
url=http://www.yourdomain.com/index.html">

Content="0" => 0 is the number of seconds
Content="300" => is 300 seconds (5 min)
This will go in your <head> of the aspx page

"Peter" wrote:
Hello!

Please could someone advice me, is it possible to show an ASP.NET
page for a user say for 5 minutes and after this time has passed the
user would be redirected to another page?

Thanks.

Peter

Nov 19 '05 #3

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

Similar topics

2
by: Alex Rybalov | last post by:
Hi, Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server...
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
3
by: R.A. | last post by:
Hi I have the web pages developed using c#. When I change the http to https the lock showing the secure site is not showing. Is there more beside changing the http to https to convert the web...
2
by: Carl Gilbert | last post by:
Hi I am developing a site that has 5 or 6 thumbnail pages each with 28 image on each. Each thumb nail has a matching larger image. So 5/6 groups of 28. When the user clicks on one of the...
1
by: syedrafey | last post by:
Hello, One of datagrid on my aspx page is not showing records on production server while there are records in database table. I have tested that page on my local machine and it is working fine....
7
by: tshad | last post by:
I have a page that is showing as: Page.IsValid = False on postback when my submit button is pressed but none of my Validators have fired so there is no error message. How do I find out what...
5
by: John Kotuby | last post by:
Hi all, This is my first time trying to creaet and use a custome Web Control in a Web Site project in ASP.NET 2.0 with VS 2005 and VB. I created the control in a separate Web Control Library...
4
by: DotNetNewbie | last post by:
Hi, VS.NET is not showing me any intellisense on a page that references a master page in the codebehind. (the codebehind references a custom class that inherits from web.ui.page, and that...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.