> SUH a �crit :
Hello !
> Is there any way to check a request if it is coming from browser's cache ?
This question is inadequate to your problem :
> The problem is :
> When users refresh web pages, browsers repost data to my servlet.
> My servlet should not do anything if the request is sent by refreshing web
> pages.
If someone reloads once, I could come from the cache, but it would more
logically that it does a reload, either direct, either to the proxy. And
in addition to that, the user may hit the "back" button, too ! If you
need only one unique submission, just gave the visitor and ID, and
associate the ID with a flag "requested" that will be true after first
visit !
Denis
--
Denis Bucher, / [EMAIL PROTECTED] T�l. +41-22-8000625 \ Internet
Horus Networks / horus-networks.com Fax: +41-22-8000622 \ Services
/ http://www.horus.ch US Fax: (508) 437-1261 \ Provider
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html