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

closing the page... after n seconds...

How to close a web page after n number of seconds.
I am using .Net Framework 1.1 and IE6+.
Thanks,
Nish
Nov 18 '05 #1
3 1001
Call a javascript on the pageload event:

setTimeout('winClose()', 5000)

more referal on
http://www.devguru.com/Technologies/...settimeout.htm
http://msdn.microsoft.com/library/de...settimeout.asp

or simply search "setTimeOut" in google

hope its helep

weichung

"Nish" wrote:
How to close a web page after n number of seconds.
I am using .Net Framework 1.1 and IE6+.
Thanks,
Nish

Nov 18 '05 #2
thanks,
nish

"weichung [MCSD, MCDBA]" <we***************@discussions.microsoft.com> wrote
in message news:BA**********************************@microsof t.com...
Call a javascript on the pageload event:

setTimeout('winClose()', 5000)

more referal on
http://www.devguru.com/Technologies/...ettimeout.html http://msdn.microsoft.com/library/de...settimeout.asp
or simply search "setTimeOut" in google

hope its helep

weichung

"Nish" wrote:
How to close a web page after n number of seconds.
I am using .Net Framework 1.1 and IE6+.
Thanks,
Nish

Nov 18 '05 #3
Check setTimeout function of javascript with can do automatic closing of
browser window. after a specified interval.

Regards,
Jignesh.

"Nish" <Ni******@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
How to close a web page after n number of seconds.
I am using .Net Framework 1.1 and IE6+.
Thanks,
Nish

Nov 18 '05 #4

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

Similar topics

11
by: hawkon | last post by:
Hi all, I have an important question to ask about how to trap events when the user close the browser window. I'm a ASP programmer and I have s MSSQL database with a user table where I'm able to...
8
by: DP | last post by:
I read some articles and post how to optimize te speed of asp pages regarding opening and closing DB connections but I am still not sure about this. Is it true that it doesn't matter how many...
1
by: - Steve - | last post by:
Shouldn't this work, causing the browser to close once progress.Percentage reaches 100? Page_Load { UpdateProgress(); } UpdateProgress() {
5
by: Russell | last post by:
Hi all, I have a web page(a) that has a link to another web page(b). Now, on the page load event of web page(b), I am doing the following: Response.redirect("./test.pdf") This pdf, if the...
3
by: R.A.M. | last post by:
Hello, I am learning .NET and I need to close current .aspx page browser window (which I open by window.open from main .aspx page). I tried this.Unload() but it's not correct, so could you tell me...
1
by: LeAnne | last post by:
my application polls a database every X seconds. Some times X = 0.5 seconds (500 milli seconds) The way the code has been written, the SQL connection is opened & closed during every poll. Is...
4
by: jack | last post by:
I have created a form which generates an excel file from the dataset and is working fine. The only problem is after the excel is generated the blank page still exist on the screen. I tried a lot...
1
by: cmt | last post by:
I have a javascript(AJAX) that opens an html page in a div. However, I can't figure out how to then close that html page. Is there a way to do this? Thanks
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.