• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Needed: Summary of Security and Sessions versus standard PHP

#1
[eluser]Unknown[/eluser]
Hello all,

In apps I am working with the username and password are compared against the db and if a match is found a $_SESSION variable is set (say for example $_SESSION['logged_on']). Then in each module/page that variable is checked and if false the user is redirected to the home page. How would this be done in CI? CI does not use the native PHP sessions.

I imagine it is a rather simple thing to run the query to look for a hit, but how then do you insure that the user can see no pages other than the home page unless logged on? I am trying to get my head around all of this so I can port the app to CI.

Thanks,

Scott


Messages In This Thread
Needed: Summary of Security and Sessions versus standard PHP - by El Forum - 07-05-2007, 08:55 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.