Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 29th, 2007, 12:17 AM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default Urgent:Asp

Hi~all pros,

Could anyone tell me how to use asp coding to unload a web page???
Waiting for you advice...

Thank you.

 
Old August 30th, 2007, 11:12 AM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you please clarify your question?

ASP runs on the web server, and would not be used to "unload" a web page. But that, of course, depends on what you mean by "unload".



Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems
 
Old August 31st, 2007, 08:03 PM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default

For example:
If I press the Logout button,then all the web page window will automatically close.That's all only.
Waiting for you advice...

Thank you.

 
Old September 15th, 2007, 10:02 AM
Authorized User
 
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

You want to use java script for that. Be aware if you try and close the primary browser window with an unload event windows will give you a nag, an application is trying to close this window do you want to allow it. Its a security feature so people cant randomly close your primary browser window.

Earl,
www.jhdesigninc.com
 
Old September 18th, 2007, 04:30 AM
Authorized User
 
Join Date: Jun 2007
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ivanlaw Send a message via Yahoo to ivanlaw
Default

Hi there,
Now I do it by using javascript,but the coding is closing all the web pages.So could you provided me some example or coding that just close the web pages which we want???Then the coding that I used is below:
window.close()
Waiting for you advice.

Thank you.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent :ASP code and Database ivanlaw Classic ASP Databases 14 September 21st, 2007 03:49 AM
asp.net vs classic asp "URGENT" naeem_ul_hussan Classic ASP Professional 1 August 1st, 2007 03:14 PM
Very urgent, Doubt in ASP ssramvinay Classic ASP Databases 1 April 17th, 2007 01:21 PM
Need Urgent Help in ASP 3.0 aspforum SQL Server ASP 1 March 9th, 2004 10:09 PM
Need Urgent Help in ASP 3.0 aspforum Classic ASP Databases 0 March 9th, 2004 05:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.