>From the work I have done, I have found that in the event PHP doesn't do this automatically (such as in some javascript code), you need to ensure you include a PHPSESSID varible in the URL something like:
print "www.mysite.net?PHPSESSID= " . session_id(); ----- Original Message ----- From: "Mike" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 8:56 PM Subject: Re: [PHP] CANT GET STUFF TO WORK > I used both a post and a get (using print "<a > href=\"$PHP_SELF\".session_name()."=".session_id(). ">click here</a>";) and > a post, but they don't seem to work. > Mike > ----- Original Message ----- > From: "Jay Blanchard" <[EMAIL PROTECTED]> > To: "'Mike'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Tuesday, July 09, 2002 3:43 PM > Subject: RE: [PHP] CANT GET STUFF TO WORK > > > > How did you do it, POST? GET? Is there a form involved? Can you show us > the > > code from the two pages? Maybe my ESP will kick in :^) > > > > -----Original Message----- > > From: Mike [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 09, 2002 2:37 PM > > To: Jay Blanchard; [EMAIL PROTECTED] > > Subject: Re: [PHP] CANT GET STUFF TO WORK > > > > > > I have read that, I am still confused, I have made it so that the > > session_start is at the top of all the pages, and I can't get some of the > > variables out of the script (i.e. I set a variable with > > session_register('user')) and on the next page I could not get the user > > variable out of the session on the next page.. does that help out? > > Thank You, > > Mike > > > > ----- Original Message ----- > > From: "Jay Blanchard" <[EMAIL PROTECTED]> > > To: "'Mike'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > Sent: Tuesday, July 09, 2002 3:25 PM > > Subject: RE: [PHP] CANT GET STUFF TO WORK > > > > > > > http://www.php.net/manual/en/ref.session.php > > > > > > Start there, and then when you can tell us what the more specific > problems > > > are with your sessions we will be able to help. > > > > > > Jay > > > > > > -----Original Message----- > > > From: Mike [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, July 09, 2002 2:20 PM > > > To: [EMAIL PROTECTED] > > > Subject: [PHP] CANT GET STUFF TO WORK > > > > > > > > > Hello, I am wondering if you could help me... I can't seem to figure out > > how > > > to get sessions working. > > > Thank You, > > > Mike > > > > > > > > > > > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php