JS don't include window.open popup in browser history

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2008
Posts: 1
Reputation: craigaw is an unknown quantity at this point 
Solved Threads: 0
craigaw craigaw is offline Offline
Newbie Poster

JS don't include window.open popup in browser history

 
0
  #1
Oct 7th, 2008
Hi, I'm not sure which forum to put this in, so I'll take my best guess.

I have an ASP.NET page where when an ASP.NET button is clicked, it (among other things) fires a one-line JavaScript to open a pop-up (separate) window that the user can do things within. This works fine. However, after the pop-up is closed, the user can go to other pages in the original web, but if they use the browser's "back" button, when the user gets to the page that called the pop-up, the pop-up appears again. How do I code the window.open to disclude the pop-up from the browser history?

Here's the window.open command as it is:

Response.Write("<script>window.open ('" & sEPayURL & "','_blank','width=800,height=600,menubar,resizable,scrollbars,toolbar');</script>")

I'm kind of a newby at web development, so if I'm way off base, please let me know.



Thanks,
Craig
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 8
Reputation: rishabh2011 is an unknown quantity at this point 
Solved Threads: 0
rishabh2011 rishabh2011 is offline Offline
Newbie Poster

Re: JS don't include window.open popup in browser history

 
0
  #2
Oct 7th, 2008
I prepared a program according but didn't use asp however and its workin fine , when I press back button the popup didn't appear. I compiled it in firefox and IE7.
If the problem you are facing is related to asp then kindly post the thread in asp forums......
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC