|
Home > Archive > WebSphere Portal Server > April 2006 > Cookies in WPS 5.1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Cookies in WPS 5.1
|
|
|
| Hi,
I know that cookies can't be used inside websphere portal, and as stated in the api documentation getCookie() method is one of those that retun nothing for security reasons,
Now I need to create a remember me feature to my custom login, via cookies or any other work around .. any ideas ??
Thanks
| |
| marrerel 2006-04-11, 10:17 am |
| I'm having the same problem here.
End users have come to expect "Remember me" functionality.
E.
| |
|
| hi,
Getting the cookies is not a problem in the portlet, you can use getCookies() method from the PortletRequest for this purpose. However you cannot set a cookie in a portlet. So as a work around, I use javascript for setting the cookie which works fine.
Regards
|
|
|
|
|