PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
mnewman
Forum Newbie
Posts: 10 Joined: Tue Sep 20, 2011 7:53 pm
Post
by mnewman » Thu Sep 22, 2011 12:34 am
How to restart the session w/out logging out?
is it possible?
Celauran
Moderator
Posts: 6427 Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada
Post
by Celauran » Thu Sep 22, 2011 6:59 am
mnewman
Forum Newbie
Posts: 10 Joined: Tue Sep 20, 2011 7:53 pm
Post
by mnewman » Thu Sep 22, 2011 9:37 pm
how am i going to execute that?
flying_circus
Forum Regular
Posts: 732 Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR
Post
by flying_circus » Thu Sep 22, 2011 11:17 pm
mnewman wrote: how am i going to execute that?
What have you tried?
Code: Select all
<?php
session_destroy();
$_SESSION = array();
?>
mnewman
Forum Newbie
Posts: 10 Joined: Tue Sep 20, 2011 7:53 pm
Post
by mnewman » Sat Sep 24, 2011 4:31 am
ohh..okey