Redirect after login

Author Message

David Santiso

Sunday 01 May 2011 7:12:16 am

Hi,

I created several links to login on my website. How can I do to make after login the previous page again?

Thanks,

David

Marko Žmak

Monday 02 May 2011 1:05:36 am

A technique I use is to add the URL of the current page in a query string of the login link. Then in the login template capture this value and put it in the RedirectURI input. You can see it in action here:

  • http://www.novilist.hr/hr/Scena/Glazba/Fatheri-predstavili-spot-za-Venus-Mars

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

David Santiso

Monday 02 May 2011 6:18:02 am

I don't understand. Is your link correctly?

http://www.novilist.hr/hr/Scena/Glazba/Fatheri-predstavili-spot-za-Venus-Mars

Marko Žmak

Monday 02 May 2011 6:34:17 am

"

I don't understand. Is your link correctly?

http://www.novilist.hr/hr/Scena/Glazba/Fatheri-predstavili-spot-za-Venus-Mars

"

Yes, it's correct. Look at the button with text "Prijavite se", and then look at it's link. When you click this link you will get a login page which has the url of the previous page in RedirectURI form input.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.