• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to setup login and logout using codeigniter ?

#3
[eluser]Aken[/eluser]
There is no "good" method for doing it. You either have to prevent the browser from caching the page at all (which even that is not fool proof), or you can use Javascript to make an additional verification request upon page load to check the session (which is both extra work [slower] and easily disabled by turning Javascript off).

Unless it is highly highly sensitive information, the best thing is to just encourage the user to close their browser to erase the cache.

And read that SO page for lots of good stuff.


Messages In This Thread
How to setup login and logout using codeigniter ? - by El Forum - 07-04-2012, 06:34 AM
How to setup login and logout using codeigniter ? - by El Forum - 07-04-2012, 08:43 AM
How to setup login and logout using codeigniter ? - by El Forum - 07-04-2012, 10:56 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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