Re: cookie expiration

2006-03-16 Thread Jeroen Reijn
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(

RE: cookie expiration

2006-03-15 Thread Ard Schrijvers
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

cookie expiration

2006-02-22 Thread deepakkumar . sahoo
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

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-13 Thread Vincent Oostindië
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

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-10 Thread Vincent Oostindië
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

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-09 Thread Torsten Curdt
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

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-08 Thread Vincent Oostindië
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

Re: [2.1.7] LocaleAction and Cookie expiration

2005-11-08 Thread Torsten Curdt
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

RE: [2.1.7] LocaleAction and Cookie expiration

2005-11-08 Thread Andrew Stevens
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

[2.1.7] LocaleAction and Cookie expiration

2005-11-08 Thread Vincent Oostindië
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