Clearing Browser Cookies

2013-01-03 Thread Corbin, James
This is a rehash of a previous discussion on this forum relating to immediate removal of a browser cookie. I have a list view that displays data loaded from 1 or more browser cookies. On this panel I also have a clear action (Link) that when clicked deletes the cookies. The underlying list

Re: Clearing Browser Cookies

2013-01-03 Thread Sven Meier
Hi James, deleting a cookie on the response doesn't change the cookies in the HTTP request. A redirect should help to get a fresh cookie list from the browser. Sven On 01/03/2013 08:29 PM, Corbin, James wrote: This is a rehash of a previous discussion on this forum relating to immediate

Re: Clearing Browser Cookies

2013-01-03 Thread Corbin, James
Thanks Sven. I wasn't sure if I could do so without a page reload, but I think it is okay in this case. J.D. On 1/3/13 1:04 PM, Sven Meier s...@meiers.net wrote: Hi James, deleting a cookie on the response doesn't change the cookies in the HTTP request. A redirect should help to get a

Re: Clearing Browser Cookies

2013-01-03 Thread Corbin, James
Hi Sven, I did try redirecting a couple of ways with no success. I tried throwing a RestartResponseException which didn't work, then tried setResponsePage(Š) to the same page and that didn't work either. I was still forced to press the Clear action again to see the cookies disappear. J.D.

Re: Clearing Browser Cookies

2013-01-03 Thread Corbin, James
So, I tried one more thing that worked... setResponsePage(new RedirectPage(somePage)); The first time I tried it was without using the RedirectPage class. J.D. On 1/3/13 4:15 PM, Corbin, James jcor...@iqnavigator.com wrote: Hi Sven, I did try redirecting a couple of ways with no