Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
Session Class -> sess_destroy not removing session
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Session Class -> sess_destroy not removing session
El Forum
Guest
#10
06-12-2013, 09:45 AM
[eluser]Bart v B[/eluser]
Code:
if(!isset($is_logged_in) || $is_logged_in !== TRUE)
{
redirect('web_public/index');
die();
}
Why in the world are you letting your script go dead?
die() stops everything. An exit() should be better here.
Messages In This Thread
Session Class -> sess_destroy not removing session
- by El Forum - 10-25-2012, 12:35 PM
Session Class -> sess_destroy not removing session
- by El Forum - 10-25-2012, 12:56 PM
Session Class -> sess_destroy not removing session
- by El Forum - 10-25-2012, 01:07 PM
Session Class -> sess_destroy not removing session
- by El Forum - 10-25-2012, 01:14 PM
Session Class -> sess_destroy not removing session
- by El Forum - 10-31-2012, 08:03 AM
Session Class -> sess_destroy not removing session
- by El Forum - 10-31-2012, 12:10 PM
Session Class -> sess_destroy not removing session
- by El Forum - 06-10-2013, 06:06 AM
Session Class -> sess_destroy not removing session
- by El Forum - 06-10-2013, 07:36 AM
Session Class -> sess_destroy not removing session
- by El Forum - 06-12-2013, 09:42 AM
Session Class -> sess_destroy not removing session
- by El Forum - 06-12-2013, 09:45 AM
Session Class -> sess_destroy not removing session
- by El Forum - 06-12-2013, 10:59 AM
Session Class -> sess_destroy not removing session
- by El Forum - 06-12-2013, 11:04 AM
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB