★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/001951.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  PHP 4 Sessions: no cookies??

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   PHP 4 Sessions: no cookies??
terium
Member
posted July 16, 2000 10:45 AM     Click Here to See the Profile for terium   Click Here to Email terium     Edit/Delete Message Reply w/Quote
I always understood that PHP 4 sessions used cookies, so I had decided not to use it (I have a broad range of users). I was just reading through an article, however, and it seemed like they don't use cookies but rather temporary files in the server. Is it true? If they don't use cookies, my life will be much easier..

rod k
Member
posted July 16, 2000 10:53 AM     Click Here to See the Profile for rod k   Click Here to Email rod k     Edit/Delete Message Reply w/Quote
The temp files are where the data is stored. The cookie is used to maintain state. However, you can turn off cookies in php.ini and pass the session id via the url.

terium
Member
posted July 16, 2000 11:02 AM     Click Here to See the Profile for terium   Click Here to Email terium     Edit/Delete Message Reply w/Quote
OK, I can't change the php.ini file, so can I pass the session ID in the URL regardless (that way it'll work either way, I think--with cookies or not)? In other words, I just write the scripts without worrying about the cookies, since I'll have the session ID in the URL anyway... Thanks

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.