My previous statement is not completely true. Here's what the Javadoc
says about session.isNew() :
A session is considered to be "new" if it has been created by the
server,
but the client has not yet acknowledged joining the session. For
example,
if the server supported only cookie-based sessions and the client had
completely disabled the use of cookies, then calls to
HttpServletRequest.getSession() would
always return "new" sessions.
@return true if the session has been created by the server but the
client has not yet acknowledged joining the session; false otherwise
@exception IllegalStateException if an attempt is made to access
session data after the session has been invalidated
dave
Dave wrote:
>
> What exactly do you mean by "frail"?
>
> As far as I know, if you disable cookies in the browser you can't
> establish a session.
>
> So, session.isNew() won't ever return *true* under that condition.
>
> Right?
>
> dave
>
> jon * wrote:
> >
> > Ok,
> >
> > It seems that if I turn cookies off with Jyve, it flails big time. Any
> > ideas? I'm curious if this is related to Kevin's recent code change in the
> > session.isNew() check.
> >
> > -jon
> >
> > --
> > Come to the first official Apache Software Foundation
> > Conference! <http://ApacheCon.Com/>
> >
> > ------------------------------------------------------------
> > To subscribe: [EMAIL PROTECTED]
> > To unsubscribe: [EMAIL PROTECTED]
> > Problems?: [EMAIL PROTECTED]
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]