For session id, use session_id()
 
  http://www.php.net/session_id

Regards,
Philip Olson


On Fri, 5 Jul 2002, Scott Fletcher wrote:

> Not a problem!  I noticed the "PHPSESSID" only showed up on $_COOKIE and
> nothing else.  I dont' want to use the $_COOKIE, so I may either assign it
> to $_SESSION or $GLOBALS.
> 
> FletchSOD
> "Alberto Serra" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Scott Fletcher wrote:
> > > That is what I thought so!  Thanks!
> > >
> > > To me, the $_COOKIE seem to get data from the browser in some way.
> Correct
> > > me if I'm wrong.  Something like a communication between cookie.
> > >
> > > Thanks,
> > >  FletchSOD
> >
> > Привет!
> >
> > Yes, that's the way it works. Once you do a setcookie() on the server
> > you actually issue a sort of "delayed command" for the client, if you
> > pardon me the expression :) In short, when you print out your HTML you
> > also tell the client to save some data in its disk (or RAM when you use
> > session cookies).
> >
> > This data will be presented back later to you with the next URL request.
> > It is NOT saved on the server, it is just a sort of automatic add-on
> > that you will have on all links pointing to you until the cookie
> > expires. It will be presented to those URLs you specify when building
> > the cookie (usually you will want to limit their action to some
> > subdirectory to avoid having back data out of context).
> >
> > Sounds very nice, but... But the trouble is that in doing so you issue a
> > command to a machine of which you know almost nothing. Most of all, you
> > don't know whether it's capable of executing your order. Or willing to,
> > since users may disable cookies.
> >
> > Sort of blind date, but the girl may actually not show up later... 99%
> > she will, but you should not count on it.
> >
> > Пока
> > Альберто
> > Киев
> >
> >
> > >
> > > "Alberto Serra" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > >
> > >>Scott Fletcher wrote:
> > >>
> > >>>I have a question!  Since the $_COOKIE is on the server side, not on
> the
> > >>>client side.  So, will the use of hte $_COOKIE be affected when the
> > >>
> > > user's
> > >
> > >>>browser disabled the cookie?  I do not know how the $_COOKIE on the
> > >>
> > > server
> > >
> > >>>side work or get the information from.
> > >>>
> > >>>Thanks,
> > >>> FletchSOD
> > >>>
> > >>>
> > >>>
> > >>
> > >>Привет!
> > >>
> > >>Yes, that's the problem with cookies :( In case they get disabled, or
> > >>just manually canceled) $_COOKIE will not contain anything at all. Which
> > >>is why I don't like cookies.
> > >>
> > >>Альберто
> > >>Киев
> > >>
> > >>--
> > >>
> > >>
> > >>@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
> > >>
> > >>LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
> > >>lOrD i'M sHiNiNg...
> > >>YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
> > >>tHe TeSt, YeS iT iS
> > >>ThE tEsT, yEs It Is
> > >>tHe TeSt, YeS iT iS
> > >>ThE tEsT, yEs It Is.......
> > >>
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> >
> >
> > @-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
> >
> > LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
> > lOrD i'M sHiNiNg...
> > YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
> > tHe TeSt, YeS iT iS
> > ThE tEsT, yEs It Is
> > tHe TeSt, YeS iT iS
> > ThE tEsT, yEs It Is.......
> >
> 
> 
> 
> -- 
> 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

Reply via email to