• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with REFERER in IE5.0  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a problem with REFERER when i'm using the form tag like this
<form name="MyForm" method="POST" action="Some.jsp" target="_blank">
<input type="submit">
Now in the Some.jsp i want the referer which i'm getting for the first time,
but not after that.
It goes like this--
The above form tag i'm having in many pages say one.html, two.html, ...
Now when i open one.html and click the submit button and read referer in Some.jsp,
i'm getting the correct value. But after that if i change the url to two.html and
do the same i'm getting the referer as "Some.jsp".
Another unusual thing happening is if i change the url from one.html to two.html
then the request is going as POST instead of GET
This problem doesn't occurs if i remove the target attribute from the FORM tag.
Is this a problem with target attribute. The same is working fine with Netscape 4.0 and 4.5,
IE 5.5. This problem is with IE 5.0
With Netscape 6.0 it is a different problem, the form is going to the server twice,
first as POST and second as GET.

Any idea.
Thanks in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!