Welcome Guest, Not a member yet? Register   Sign In
Make sure user is logged in then show pages EXCEPT for login page.
#1

[eluser]behnampmdg3[/eluser]
Hi;

I have to make sure visitors cannot see any page but login page. So if they are in any other page they get redirected to login page.

I can add a "session check and redirect to login" in _constructor of all controlers but I prefer add it in 1 place and so I wont have to change everything.

Please advice.

Thanks


Messages In This Thread
Make sure user is logged in then show pages EXCEPT for login page. - by El Forum - 06-02-2013, 01:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB