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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.open

Status
Not open for further replies.

scohan

Programmer
Dec 29, 2000
283
US
Is there a way that I can dermine if the current page has a child window of anohter browser window opened via window.open? I need to handle 'is the user logged in or has the session expired?' processing differently if the user bookmarked the page or if the user got to the page via link which opens a new window. Thanks.
 
a) This is a question for JavaScript forum.
b) The question is also ambigious. Anyway, I'll try to answer based on how I understood it. If you created the window yourself via window.open() call, then the name of the window was the second argument in the function call, and you can simply check whether the name of the window is the one you assigned in window.open call. ---
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top