denoteone Posted May 20, 2009 Share Posted May 20, 2009 if(isset($_COOKIE['ID_my_site'])) { show site }else{ redirect } is there any way to remove the cookie when the window or browser closes. so they have to log back in. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted May 20, 2009 Share Posted May 20, 2009 If you're looking for this kind of behaviour, you'd be better off using sessions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.