You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bernard Sirius <be...@yahoo.com> on 2005/02/05 03:50:46 UTC

store session in cookie

Sorry to post such a simple question, but really I
can't get the answer...

I need to have cookie-based session tracking. I'm
using cocoon in combination with laszlo presentation
server (LPS for short).

In my flowscript, when the user logs in, I want to
save some values in the session so I can use them the
next time my client makes requests.

A session is indeed created at that time, but it's not
tracked.

How do I explicitely state that the session is to be
cookie tracked?

bernard

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Best servlet engine to use

Posted by Jaka Jaksic <ja...@telemach.net>.
I have another question regarding Cocoon.

The framework can run under a number of servlet engines, mostly different
Tomcat versions. The most interesting choices are probably Tomcat 4.1, 5.0
and 5.5 (anything else?). I'd like to know the difference between them and
which is the best one to use for running Cocoon (with Apache and
PostgreSQL).

I'd also like to know the difference between running Cocoon within Tomcat
and within Jetty, which is more handy for development. Does Cocoon behave
the same under both environments or should I expect difficulties when moving
from a Jetty to a Tomcat environment.

And what about JRE? Does it matter which version I use? I compiled Cocoon
with JDK 1.4.2, but once compiled it seems to run fine with JRE 1.5 (which
is required by Tomcat 5.5). Is this OK or should I expect difficulties in
the future?

Please excuse me if these are newbie questions - I just recently switched
from Microsoft, so this whole Java/servlet thing is still quite new to me.


Thanks and regards,
Jaka Jaksic


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: store session in cookie

Posted by Bernard Sirius <be...@yahoo.com>.
I use NetBeans and they have a nice HTTP monitor. I
could've used cocoon logs too.

But the problem is really that the session is useless
since setAttribute doesn't work as I previously
stated.

I know that thanks to the HTTP monitor again.

bernard

--- WHIRLYCOTT <ph...@whirlycott.com> wrote:

> How do you know that the session is "indeed
> created"?
> 
> phil.
> 
> Bernard Sirius wrote:
> > Sorry to post such a simple question, but really I
> > can't get the answer...
> > 
> > I need to have cookie-based session tracking. I'm
> > using cocoon in combination with laszlo
> presentation
> > server (LPS for short).
> > 
> > In my flowscript, when the user logs in, I want to
> > save some values in the session so I can use them
> the
> > next time my client makes requests.
> > 
> > A session is indeed created at that time, but it's
> not
> > tracked.
> > 
> > How do I explicitely state that the session is to
> be
> > cookie tracked?
> > 
> > bernard
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail:
> users-help@cocoon.apache.org
> > 
> 
> -- 
>                                    Whirlycott
>                                    Philip Jacob
>                                   
> phil@whirlycott.com
>                                   
> http://www.whirlycott.com/phil/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: store session in cookie

Posted by WHIRLYCOTT <ph...@whirlycott.com>.
How do you know that the session is "indeed created"?

phil.

Bernard Sirius wrote:
> Sorry to post such a simple question, but really I
> can't get the answer...
> 
> I need to have cookie-based session tracking. I'm
> using cocoon in combination with laszlo presentation
> server (LPS for short).
> 
> In my flowscript, when the user logs in, I want to
> save some values in the session so I can use them the
> next time my client makes requests.
> 
> A session is indeed created at that time, but it's not
> tracked.
> 
> How do I explicitely state that the session is to be
> cookie tracked?
> 
> bernard
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
                                   Whirlycott
                                   Philip Jacob
                                   phil@whirlycott.com
                                   http://www.whirlycott.com/phil/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org