[opencms-dev] Redirect in OpenCms

Marc Schlegel my.mailing.lists at gmx.de
Wed Aug 13 23:14:43 CEST 2008


Flex Ferrum schrieb:
> Здравствуйте, Marc.
>
> Вы писали 13 августа 2008 г., 5:31:28:
>
> MS> Good Evening Everyone
>
> MS> I know this question already arose sometimes, but none of the 
> MS> suggestions seem to work for me.
> MS> When my users logout, they should be redirected to the start-page to 
> MS> ensure they are not in a restricted area any more (which would end up in
> MS> an error). I tried several redirect approaches like the standard jsp-way
> MS> sendRedirect(cms.link("/")) or the RedirectUtils from OC. It is just not
> MS> working. Can someone explain to me how I have to do this in the right way?
> What kind of problems do you have? How it looks like?
>
>   
Thanks for replying

Lets say I log in at www.mysite.de, then I navigate to the restricted 
area www.mysite.de/restricted/ and then I logout. The next page loaded 
is again www.mysite.de/restricted.html instead of www.mysite.de and I 
get a error 500.



More information about the opencms-dev mailing list