943,662 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1489
  • ASP.NET RSS
Oct 7th, 2008
0

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

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
craigaw is offline Offline
3 posts
since Oct 2008
Oct 7th, 2008
0

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

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......
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rishabh2011 is offline Offline
8 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: XSL related question
Next Thread in ASP.NET Forum Timeline: How To user clients input in another Page





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC