Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

request coming from the new window  RSS feed

 
harish pathak
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Anybody please tell me how to check the request is coming from the new window.

like if I copy the following url
http://forum.java.sun.com/post!default.jspa?forumID=33
and open it in a new window then I have to check that this url is coming from the new window not from the link.

please reply soon.

Thanks
[ June 30, 2006: Message edited by: Bear Bibeault ]
 
Darren Edwards
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot. Best you can do is check the referer sent with the header, but it is not guaranteed to work.

It's quite a strange request though, what end result are you trying to achieve?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!