Welcome Guest, Not a member yet? Register   Sign In
Is there anything wrong with storing the "current_url()" function in a session variable for login return url?
#2

[eluser]oppenheimer[/eluser]
I don't see any risk as long as controllers check for authorization.

Also, have you tested all the various conditions like:
<ul><li>Failed login attempt</li>
<li>Successful login attempt</li>
<li>User visits several pages then logins</li>
<li>User goes to login page first and then logins</li>
<li>The lastlogin page is changed by the user to a different page</li>
</ul>


Messages In This Thread
Is there anything wrong with storing the "current_url()" function in a session variable for login return url? - by El Forum - 04-24-2011, 06:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB