"Yonn M. Samuels" wrote:

> I'm trying to allow users access to content only if they select a link from
> a given page (no login required).  That is to say I do not want them to have
> access simply by typing the URL in their web browser.  Any efficient
> suggestions?

If the origin page is a servlet or JSP, set a session variable and check it on the
destination page.  Otherwise try looking for the "Referer" header, though some
older browsers don't support it.

Wes

===========================================================================
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