If(!session.isTemp() && cookieNotSet) setCookie()
On 4/29/08, mfs <[EMAIL PROTECTED]> wrote:
>
> Doesnt really give what i need (looking at the src), i want to know if a
> permanent session was created in a particular request, this would just tell
> me if the session reference is still temperary...
>
> public final boolean isTemporary()
> {
> return getId() == null;
> }
>
>
>
> Mr Mean wrote:
> >
> > Session.isTemporary();
> >
> > Maurice
> >
> > On Tue, Apr 29, 2008 at 6:14 AM, mfs <[EMAIL PROTECTED]> wrote:
> >>
> >> Hello Everyone,
> >>
> >> Is there a way to check if a (permanent) session was created in the
> >> given
> >> request, in other words want to know if a JSESSIONID cookie is being set
> >> in
> >> the resulting response. I need to set another cookie alongside JSESSION
> >> id
> >> in the same request.
> >>
> >> Any pointers..?
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Session.isNew---Check-if-a-%28permanent%29-session-was-created-in-the-given-request-tp16952899p16952899.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Session.isNew---Check-if-a-%28permanent%29-session-was-created-in-the-given-request-tp16952899p16965541.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Sent from Gmail for mobile | mobile.google.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]