Hi all ,
thanks for your response. I am summarising the responses i got .
Question -- I want  to ignore the request from refresh button of the browser
??

Solution :
There can be two solutions.
Fist solution is to use request.getHeader( "Referer" )  to know from where
the request came from. It has chances of failures some times.
Another one given by Craig is that to use the session variable. I think this
is the foolproof method.

But i have some concern. I am already using 2-3 session variables.It will
put burden on the web server ??
If i use the first case Suppose i have a hyperlink to the same page.  I will
not be able  to distinguish if the request came from the link or by pressing
the refresh button.

Regards
Ashwani

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to