Hi,

Looks like this isn't true.  We don't call getSession
anywere in our code and still the cookie appears every time
the application is used.

Also, to correct my own mistake - it looks like ServletExec
doesn't allow setting of the timeout to 0.  When it is set
manually by editing the web.xml file the GUI shows MAX_INT.
Same when it is attempted to set the timeout to 0 via the GUI,
"submit" simply rewrite the field's value to MAX_INT.

Thanks,

--Amos

> -----Original Message-----
> From: Gokul Singh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 22, 2000 1:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Disabling sessions
>
>
> 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

___________________________________________________________________________
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