Hi Saifi.
If A is the first page on the site, you could bind something to the
HttpSession on this page. Once you've arrived at page B, the first thing you
could do is to check if the session is new like so:
HttpSession session= req.getSession(true)
if(session.isNew()){
res.sendRedirect("page A.jsp"); // and if it is, send them back like that.
}
Does this help?
Peet
___________________________________________________________________________
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