[Yanel-dev] Logout Improvement

basZero baszero at gmail.com
Tue Aug 16 21:39:33 CEST 2011


I can deliver a patch this week, I assume it is a nobrainer :D .

Yes, the other patches are pending since a long time, would be great if I
could get rid of the copied classes in my realm.

Thanks!
Cheers
Balz

On Tue, Aug 16, 2011 at 9:37 PM, Michael Wechner
<michael.wechner at wyona.com>wrote:

>  Hi Balz
>
> I agree, whereas please see
>
> src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java#doLogout(HttpServletRequest,
> HttpServletResponse)
>
> which contains a TODO already for this.
>
> I have added it now to Bugzilla:
>
> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8488
>
> Patches are of course always welcome
> (I have to handle your other patch first ;-)
>
> Thanks
>
> Michael
>
> Am 16.08.11 16:24, schrieb basZero:
>
> Hi,
>
>  just noticed the following:
>
>  if you want to perform a logout for the currently logged in user, you can
> offer a hyperlink called "Logout" which goes to a URL containing the logout
> usecase as a parameter, like this:
>
>  http://127.0.0.1:8080/yourpage.html*?yanel.usecase=logout*
>
>  This works fine, the user gets logged out an gets redirected to
> yourpage.html.
>
>  The following does not work:
> - If you have a page with parameters already, you can add the usecase
> parameter, but the page, where you get redirected to does not contain any
> parameters anymore, so you loose the page state where the user has been.
>
>  Example:
> You are here: http://127.0.0.1:8080/yourpage.html*?page=4*
> Now you want to offer a logout URL:
> http://127.0.0.1:8080/yourpage.html?page=4*&yanel.usecase=logout*
> *
> *
> Unfortunately, the user ends up here, without page=4 in the URL:
> http://127.0.0.1:8080/yourpage.html
>
>  It would be nice, if the logout functionality in yanel would be improved
> so that all the parameters in the URL are preserved, if there are any.
>
>  Cheers
> Balz
>
>
>
>
> --
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110816/0dcc0513/attachment.html>


More information about the Yanel-development mailing list