Share » Forums » Developer » Redirect after login

Redirect after login

Redirect after login

Sunday 01 May 2011 7:12:16 am - 3 replies

Author Message

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu