manav agarwal wrote:
>
> How can i make sure that :
>
> a particular servlet always returns a new session instead of checking to see
> if there is a session associated with this request.
Can you provide more clarification on what you are trying to accomplish?
The session is designed to exist from request to request and persist
information between requests. From what you are describing, you are
trying to use the session in a way that is contrary to its intended
purpose. This generally indicates a poor design or implementation.
In any case, if you really want to force a new session for EVERY
request, just invalidate the session before returning the response to
the client.
___________________________________________________________________________
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