Session Security 1.0
Keep your Sessions on lockdown and prevent Fixation, and Hijacking with this snippet. Use at the top of your pages, script will start sessions in constructor.
Initialize SessionSecurity, Which will also issue session_start() , also if user's session is open, make sure it belongs to them, if not, make them login again.
Whenever someone logs in, and is authorized, open their session
More popular User Management
- 2.4 KB
- 11/03/2010 14:10:18