Hi,

I think untill you call the method getSession() you do not create a session.
So just do not call this method.
Pl. correct me if I am wrong.

regds,
gokul
----- Original Message -----
From: "Amos Shapira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 21, 2000 9:55 PM
Subject: [SERVLET-INTEREST] Disabling sessions


> Hi,
>
> I don't see any mentioning in the Servlet 2.2 spec of how should
> I disable session tracking altogether for the entire application.
>
> I'm aware of the "<%@ page session="false" %>" directive but would
> like to avoid setting it separatly for each servlet and JSP
> page in my application.
>
> It looks like setting <session-timeout> to 0 in web.xml will do
> the trick, but the spec doesn't say this is the defined behaviour.
>
> To clarify - I'd like to avoid setting of JSESSIONID cookies and
> URL rewriting altogether in my application, at all.
>
> Thanks for any input on this,
>
> --Amos Shapira
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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

Reply via email to