I don't have an answer for you, but I'd like to register my dislike of
the new simplified way of dealing with cookies, too.  My app needs to
set cookies with a specific domain value, which was easily done before
T4.  But it's not at all obvious how, or even if, I can do it now.

-----Original Message-----
From: Denis Souza [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 03, 2005 1:46 PM
To: 'Tapestry users'
Subject: Persistent cookies in T4

Hi,

 

I'm trying to create a persistent cookie to be placed in the user's
browser
but I just can't figure out how to do it in Tapestry 4. I've looked
around
in the list archives and in the docs but I couldn't find anything that
would
help me (except for the CookieSource class which didn't seem very
helpful in
my case). Anyone know how this can be done?

 

Another thing is that for every request I must read this cookie and
update
my database with some info (regardless of which page the user is
accessing)
and on every response I might have to change the cookie's contents. How
would I go about having a class/method that is called on every
request/response so that I can read/update this information? I'm
thinking
it's some hivemind thing but I guess I'm just not fluent enough with it
yet.
Can somebody help me?

 

Thanks,

Denis Souza

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to