You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lionel Crine <cr...@4dconcept.fr> on 2004/07/06 09:42:07 UTC
session framework
Hi,
I'm looking for examples about the session framework.
I've already the doc in cocoon.apache.org and I saw the example.
Moreover, I have some question :
I'd like to get some information in the session context. But I have
several sitemap.
Is the context accessible in the entire application ?
I don't have a logout page in my application, so is the context ending
automatically after x seconds ?
thanks
--
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by Lionel Crine <cr...@4dconcept.fr>.
Thanks all. I have all the information I needed.
John L. Webber wrote:
> In case anyone's interested, the behavior with Mozilla is similar (at
> least under Linux). Two or more windows/tabs will share the same session
> cookie; if I start a new instance of Mozilla (which has to be with a
> different profile), it gets a different cookie.
>
> John
>
> Adam Walsh wrote:
>
>> It seems to depend on how you open the second IE window. If you go to
>> File -> New -> Window then both browsers will have the same session
>> cookie, but if you start up a new instance of IE then it uses a new
>> session cookie.
>>
>> Adam
>>
>> Antonio Gallardo wrote:
>>
>>> lionel crine dijo:
>>>
>>>
>>>> My client uses Internet exlorer.
>>>> Antonio, do you confirm that IE share the same context ?
>>>>
>>>
>>>
>>> I already did the test in IE:
>>> In the IE case you will need to login on each window.
>>>
>>> Best Regards,
>>>
>>> Antonio Gallardo.
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
--
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by "John L. Webber" <Jo...@jentro.com>.
In case anyone's interested, the behavior with Mozilla is similar (at
least under Linux). Two or more windows/tabs will share the same session
cookie; if I start a new instance of Mozilla (which has to be with a
different profile), it gets a different cookie.
John
Adam Walsh wrote:
> It seems to depend on how you open the second IE window. If you go to
> File -> New -> Window then both browsers will have the same session
> cookie, but if you start up a new instance of IE then it uses a new
> session cookie.
>
> Adam
>
> Antonio Gallardo wrote:
>
>>lionel crine dijo:
>>
>>
>>>My client uses Internet exlorer.
>>>Antonio, do you confirm that IE share the same context ?
>>>
>>>
>>
>>I already did the test in IE:
>>In the IE case you will need to login on each window.
>>
>>Best Regards,
>>
>>Antonio Gallardo.
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by Adam Walsh <aw...@contal.net.au>.
It seems to depend on how you open the second IE window. If you go to
File -> New -> Window then both browsers will have the same session
cookie, but if you start up a new instance of IE then it uses a new
session cookie.
Adam
Antonio Gallardo wrote:
>lionel crine dijo:
>
>
>>My client uses Internet exlorer.
>>Antonio, do you confirm that IE share the same context ?
>>
>>
>
>I already did the test in IE:
>In the IE case you will need to login on each window.
>
>Best Regards,
>
>Antonio Gallardo.
>
>
>>Lionel
>>
>>
>>
>>
>>On 06 Jul 2004 17:08:29 +0100, Colin Paul Adams wrote
>>
>>
>>>>>>>>"Antonio" == Antonio Gallardo <ag...@agssa.net> writes:
>>>>>>>>
>>>>>>>>
>>> >> I ask this question because people can open two browsers with
>>> >> the same profile. And so, I need two session context
>>> >> objects. Is it true ?
>>>
>>> Antonio> I already did the test. If you open 2 browser windows on
>>> Antonio> the same computer they share the same session.
>>>
>>>This will depend upon using the same browser twice, won't it?
>>>On Mozilla window and one Opera window for instance - won't they be
>>>two separate sessions (because they won't be sharing the session
>>>cookie)?
>>>--
>>>Colin Paul Adams
>>>Preston Lancashire
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
Re: session framework
Posted by Antonio Gallardo <ag...@agssa.net>.
lionel crine dijo:
> My client uses Internet exlorer.
> Antonio, do you confirm that IE share the same context ?
I already did the test in IE:
In the IE case you will need to login on each window.
Best Regards,
Antonio Gallardo.
>
>
> Lionel
>
>
>
>
> On 06 Jul 2004 17:08:29 +0100, Colin Paul Adams wrote
>> >>>>> "Antonio" == Antonio Gallardo <ag...@agssa.net> writes:
>>
>> >> I ask this question because people can open two browsers with
>> >> the same profile. And so, I need two session context
>> >> objects. Is it true ?
>>
>> Antonio> I already did the test. If you open 2 browser windows on
>> Antonio> the same computer they share the same session.
>>
>> This will depend upon using the same browser twice, won't it?
>> On Mozilla window and one Opera window for instance - won't they be
>> two separate sessions (because they won't be sharing the session
>> cookie)?
>> --
>> Colin Paul Adams
>> Preston Lancashire
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by lionel crine <cr...@4dconcept.fr>.
My client uses Internet exlorer.
Antonio, do you confirm that IE share the same context ?
Lionel
On 06 Jul 2004 17:08:29 +0100, Colin Paul Adams wrote
> >>>>> "Antonio" == Antonio Gallardo <ag...@agssa.net> writes:
>
> >> I ask this question because people can open two browsers with
> >> the same profile. And so, I need two session context
> >> objects. Is it true ?
>
> Antonio> I already did the test. If you open 2 browser windows on
> Antonio> the same computer they share the same session.
>
> This will depend upon using the same browser twice, won't it?
> On Mozilla window and one Opera window for instance - won't they be
> two separate sessions (because they won't be sharing the session
> cookie)?
> --
> Colin Paul Adams
> Preston Lancashire
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Antonio" == Antonio Gallardo <ag...@agssa.net> writes:
>> I ask this question because people can open two browsers with
>> the same profile. And so, I need two session context
>> objects. Is it true ?
Antonio> I already did the test. If you open 2 browser windows on
Antonio> the same computer they share the same session.
This will depend upon using the same browser twice, won't it?
On Mozilla window and one Opera window for instance - won't they be
two separate sessions (because they won't be sharing the session cookie)?
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by Antonio Gallardo <ag...@agssa.net>.
Lionel Crine dijo:
> Another question :
>
> The session context object is single per client ?
>
> I ask this question because people can open two browsers with the same
> profile. And so, I need two session context objects. Is it true ?
I already did the test. If you open 2 browser windows on the same computer
they share the same session.
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by Lionel Crine <cr...@4dconcept.fr>.
Another question :
The session context object is single per client ?
I ask this question because people can open two browsers with the same
profile. And so, I need two session context objects. Is it true ?
Antonio Gallardo wrote:
> Lionel Crine dijo:
>
>>I don't have a logout page in my application, so is the context ending
>>automatically after x seconds ?
>
>
> Yep. I think the default is set for 30 minuts.
>
> Best Regards,
>
> Antonio Gallardo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
--
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.46.06.90
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: session framework
Posted by Antonio Gallardo <ag...@agssa.net>.
Lionel Crine dijo:
> I don't have a logout page in my application, so is the context ending
> automatically after x seconds ?
Yep. I think the default is set for 30 minuts.
Best Regards,
Antonio Gallardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org