Cookie, WebRequest and mount point

2010-03-18 Thread Daniele Dellafiore
Hi. During the login I set a cookie called login. It works but when I want to logout, getWebRequest().getCookie(login) does not found the cookie so it does not remove it. The user is redirected to the LoginPage where it still found the original cookie that auto login the client. Why? Because

Re: Cookie, WebRequest and mount point

2010-03-18 Thread Igor Vaynberg
always save your cookies using the / path -igor On Thu, Mar 18, 2010 at 10:14 AM, Daniele Dellafiore ilde...@gmail.com wrote: Hi. During the login I set a cookie called login. It works but when I want to logout, getWebRequest().getCookie(login) does  not found the cookie so it does not

Re: Cookie, WebRequest and mount point

2010-03-18 Thread Daniele Dellafiore
is what I have done, I ask my self if is fine. I have backported the IAuthenticationStrategy and CookieUtils from 1.5 and CookieUtils initialize the cookie with the path. I have hacked it and it works. I wonder if I will have any other problem in future. On Thu, Mar 18, 2010 at 6:34 PM, Igor