users
[Top] [All Lists]

Re: [cinjug-users] HttpSession question

To: "Jason Kretzer/STAR BASE Consulting Inc." <JKretzer@xxxxxxxxxxxxxxx>
Subject: Re: [cinjug-users] HttpSession question
From: Scott T Weaver <sweaver@xxxxxxxxxxxxxxx>
Date: Wed, 26 May 2004 10:17:47 -0400
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
In-reply-to: <OFCCC16389.31961CC1-ON85256EA0.004DB7C4-85256EA0.004DC52C@starbaseinc.com>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <OFCCC16389.31961CC1-ON85256EA0.004DB7C4-85256EA0.004DC52C@starbaseinc.com>
On Wed, 2004-05-26 at 10:09, Jason Kretzer/STAR BASE Consulting Inc.
wrote:
> I have a question about the persistence of a session.  Here is an
> example scenario:
> 
> User comes to my site(www.mySite.com) and a session is created and
> some attributes are added to the session.  The user then clicks a link
> to (www.theOtherSite.com).  The user then does some stuff on the other
> site and clicks a link back to my site.  
> 
> Questions:
> 1.) Is my original session object still active?
Yup, until it times out per session time out setting. 

> 2.) OR  Does the session get destroyed?
Nope.

> 3.)  If the session is destroyed, is there a way to get it back?
Not destroyed, so there is no need.
> 
> Separately:
> 4.)  How can session id's be used in this instance? 
If the browser is allowing cookies, don't even concern yourself with the
session id request parameter and allow the servlet container to extract
the session id for that site from the previously set cookie.

> 
> Note:  I can control the url string on the other site to contain
> whatever I like at all times.
> 
> 
> Thanks,
> 
> -Jason


<Prev in Thread] Current Thread [Next in Thread>