Don't forget to use an import statement at the top of your flowscript:
importClass(Packages.org.apache.cocoon.environment.Cookie);
Regards,
Reijn
Ard Schrijvers wrote:
F or example:
var userCookie = cocoon.response.createCookie("username",
httpState.getCredentials(null, host).getUserName(
F or
example:
var userCookie =
cocoon.response.createCookie("username",
httpState.getCredentials(null,
host).getUserName());
userCookie.maxAge = 60*60*24*30; //30
days
userCookie.path = "/";
cocoon.response.addCookie(userCookie);
Regards
AS
can any one specify the way to set the age o
can any one specify the way to set the
age of a cookie in flowscript.
Deepak Kumar Sahoo
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privilege
Torsten Curdt apache.org> writes:
> svn co http://...
> change it
> svn diff > output
> send us the output
>
> If it's a lot like the original it sounds like you should submit a
> patch ;)
I've just submitted a patch for issue COCOON-1592 in ASF JIRA
(http://issues.apach
Torsten Curdt apache.org> writes:
> svn co http://...
> change it
> svn diff > output
> send us the output
I'm halfway there. The patch is surely coming, but probably no earlier than
Saturday or Sunday.
Vincent
-
To
There is not much to it.
svn co http://...
change it
svn diff > output
send us the output
I currently implemented a second LocaleAction
(PersistentCookieLocaleAction)
that looks a lot like the original one (C&P) with some minor tweaks
(an extra
setting called 'cookie-expiration
hat's about it. I'm not very
familiar with the procedures for submitting patches and such. I'll have to find
some time to look into that.
I currently implemented a second LocaleAction (PersistentCookieLocaleAction)
that looks a lot like the original one (C&P) with some minor twe
On 08.11.2005, at 13:20, Andrew Stevens wrote:
From: Vincent Oostindië <[EMAIL PROTECTED]>
Date: Tue, 8 Nov 2005 08:05:34 + (UTC)
Hi,
I use the LocaleAction to manipulate the user's locale. I want
this locale to
be kept in the cookie after the session ends, so that it is still
availab
From: Vincent Oostindië <[EMAIL PROTECTED]>
Date: Tue, 8 Nov 2005 08:05:34 + (UTC)
Hi,
I use the LocaleAction to manipulate the user's locale. I want this locale
to
be kept in the cookie after the session ends, so that it is still available
if
the user accesses the application at a later
Hi,
I use the LocaleAction to manipulate the user's locale. I want this locale to
be kept in the cookie after the session ends, so that it is still available if
the user accesses the application at a later date.
Examining the code for the LocaleAction and the I18nUtils I noticed that the
c
10 matches
Mail list logo