Welcome Guest, Not a member yet? Register   Sign In
Access restrictions to pages using Session.
#1

[eluser]Joseph1982[/eluser]
Hi all,


Now I am facing another issue with CI and is related to Session.. The task is about User Validation.. After login, the details are stored in Session..And I want to make it, so that only Logged In users can access some pages..

In normal php development, we can make it by using a function and call to that function in the restricted pages. Then the page will be redirected to login page, if the user doesn't have permission or not logged in.. How can I do this from inside the Controllers ?


Have any libraries available for this ?


Messages In This Thread
Access restrictions to pages using Session. - by El Forum - 09-16-2008, 05:34 AM
Access restrictions to pages using Session. - by El Forum - 09-16-2008, 07:53 AM
Access restrictions to pages using Session. - by El Forum - 09-16-2008, 11:41 AM
Access restrictions to pages using Session. - by El Forum - 09-18-2008, 03:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB