[opencms-dev] Cookies?
Nico Krause
Nico.Krause at nsc.eu.com
Tue Jan 7 17:21:00 CET 2003
Thanks - this seems to work now...
If somebody is interested in the Login.class - don't hesitate to contact me.
So long,
Nico
-----Original Message-----
From: Nico Krause [mailto:Nico.Krause at nsc.eu.com]
Sent: Dienstag, 7. Januar 2003 16:57
To: opencms-dev at opencms.org
Subject: [opencms-dev] Cookies?
Hi,
I'm just trying to implement a "Remember Login" function and maybe need some
assistance...
Does someone have already done writing and reading cookies within OpenCMS?
Is there any method or function in OpenCMS API?
I'm currently trying something like this...
LoginCookie.setMaxAge(86400*365);
HttpServletResponse res = (HttpServletResponse)
cms.getRequestContext().getResponse().getOriginalResponse();
res.addCookie(LoginCookie);
Maybe I write the Cookie too late within the code, because it seems the
Cookie is not written...
Does someone have experiences with this - please help !
Thanks in advance and a Happy New Year for all ... (late but I will not
forget)
Nico
____________________________________
Nico Krause
NorthStar Communications GmbH
Wallbergstr. 20-22 85221 Dachau
Telefon: +49 (0) 81 31 / 9 96 87 - 53
Fax: +49 (0) 81 31 / 9 96 87 - 29
Mobil: +49 (0) 1 71 / 3 70 10 70
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030107/3d4b950f/attachment.htm>
More information about the opencms-dev
mailing list