Welcome Guest, Not a member yet? Register   Sign In
Passing referer to a page
#2

[eluser]sofbas[/eluser]
Seems like someone has asked on the DX_Auth thread (and looks like you replied with an answer Smile).

Unfortunately, I had to clutter the thread...

Have a look at my reply at DX_auth thread.

In short I use flashdata to store the URL. You can set_flashdata('url', uri_string()) to set the page referred from, get the flashdata('url') to redirect to on successful login, or you can keep_flashdata('url') to keep the referral when the user does not login successfully.

Hope that helps.


Messages In This Thread
Passing referer to a page - by El Forum - 12-21-2008, 03:23 PM
Passing referer to a page - by El Forum - 12-21-2008, 10:54 PM
Passing referer to a page - by El Forum - 12-22-2008, 10:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB