Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close Browser Window

Status
Not open for further replies.

buggseywork

Programmer
Joined
Jan 22, 2004
Messages
9
Location
CA
Can I close a browser window from inside an ASP page. I am not that familiar with this as I used Javascript to do this in straight HTML pages. I get an error... I have a database log in window that opens off my main page (Intranet). I want it to verify the user ID and password and when it does I wan it to close. Any Ideas about how I would do this...

I thank you for any replies...
 
Ask over in the javascript forum


Dont know if its possible but you could call the page do your ASP work and in <body onload=""> maybe call a function to close the window. not sure if it will work efficiently in terms of receiving a prompt etc ('This page is tryign to close....' Yes/No), but still something to put to the jscript peeps.

- FateFirst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top