Re: Session variables does not get sent
| From: | Marek Kilimajer | Date: | Mon, 06 Sep 2004 08:28:27 +0000 |
| Subject: | Re: Session variables does not get sent | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195966@lists.php.net to get a copy of this message | ||
Dre wrote:
no I did this a long time ago (I did have this problem before :o) )Try echo $_REQUEST[session_name()]; in members/main.php. It should print the session id. Then there should be a session file sess_[session id].
"Marek Kilimajer" <lists@kilimajer.net> wrote in message news:413C07FB.9060903@kilimajer.net...Dre wrote:theand by the way .. I'm using MS Windows XP Pro. which I do believe that it has some hand inproblem :)Like you did not change session.save_path setting in php.ini from /tmp to whatever it is supposed to be on windows."Dre" <dre00x@yahoo.com> wrote in message news:20040905201531.29365.qmail@pb1.pair.com...I do know this and what happen is that the $_SESSION array become empty once I redirectfrom the login page (after login) to another members' area page .. !!"Marek Kilimajer" <lists@kilimajer.net> wrote in message news:413B6FF9.3060800@kilimajer.net...Dre wrote:anyI don't know why but session variables does not get posted .. is therething in the php.ini that I should configure as I can't find any thing wrong in the code I'm using !!Session variables are not posted, they are kept on the server. Only the session id is sent as a cookie, get or post variable. Session variables are available in $_SESSION array