Re: CANT GET STUFF TO WORK
| From: | Lee | Date: | Tue, 09 Jul 2002 20:16:44 +0000 |
| Subject: | Re: CANT GET STUFF TO WORK | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106542@lists.php.net to get a copy of this message | ||
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" <funyon@funyon.com>
To: "Jay Blanchard" <jay.blanchard@niicommunications.com>;
<php-general@lists.php.net>
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" <jay.blanchard@niicommunications.com>
> To: "'Mike'" <funyon@funyon.com>; <php-general@lists.php.net>
> 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:funyon@funyon.com]
> > Sent: Tuesday, July 09, 2002 2:37 PM
> > To: Jay Blanchard; php-general@lists.php.net
> > 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" <jay.blanchard@niicommunications.com>
> > To: "'Mike'" <funyon@funyon.com>;
> > <php-general@lists.php.net>
> > 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:funyon@funyon.com]
> > > Sent: Tuesday, July 09, 2002 2:20 PM
> > > To: php-general@lists.php.net
> > > 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
>
>
>
>