Re: Setcookie problem in ie 5.0

From: Date: Fri, 08 Dec 2000 15:46:14 +0000
Subject: Re: Setcookie problem in ie 5.0
Groups: php.general 
Request: Send a blank email to php-general+get-29279@lists.php.net to get a copy of this message
I'm using IE5.0 on Win98, it's as simple as it gets. But still I don't see any cookies saved. As far as I understand, on this platform cookies get saved in C:\WINDOWS\Cookies, and C:\WINDOWS\Temporary Internet Files has only shortcuts to those cookies. -----Original Message----- From: Cynic <cynic@mail.cz> To: Rustam Nabirov <r_nabirov@kazakhstan-gateway.org>; php-general@lists.php.net <php-general@lists.php.net> Date: 7 äåêàáðÿ 2000 ã. 8:50 Subject: Re: [PHP] Setcookie problem in ie 5.0 >Location of cookie files is system specific. On my NT5 Pro it's > >C:\Documents and Settings\%Account%\Local Settings\Temporary Internet Files > >At 00:35 8.12. 2000, Rustam Nabirov wrote the following: >-------------------------------------------------------------- >>I'm using a login script which sets a cookie and redirects the browser using >>"header ("Location")". The page which the browser gets redirected to fetches >>cookie values and uses it to identify users. The expiration time is 1 hour. >>The script seems to be working fine, however, I don't see any cookies saved >>either in C:\WINDOWS\Cookies or C:\WINDOWS\Temporary Internet Files >>I'm not sure if this might cause any problem in the future. >>I don't want to spend a heck of time creating scripts just to find out later >>that some was wrong in this setcookie routine. Has anyone faced the same >>thing before? >> >>Thanks in advance, >>Rustam. >> >>This is a part of the script: >> >>$expiretime=time()+3600; >>$date = date("l, d-M-y H:i:s", ($expiretime)); >>setcookie ("per_db_id","$per_id","$date >>GMT","/","www.domainname.com",0); >>setcookie ("per_db_fname","$per_fname","$date >>GMT","/","www.domainname.com",0); >>setcookie ("per_db_lname","$per_lname","$date >>GMT","/","www.domainname.com",0); >>header ("Location: $reflink"); >> >> >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >>For additional commands, e-mail: php-general-help@lists.php.net >>To contact the list administrators, e-mail: php-list-admin@lists.php.net >------end of quote------ > > > >____________________________________________________________ >Cynic: > >A member of a group of ancient Greek philosophers who taught >that virtue constitutes happiness and that self control is >the essential part of virtue. > >cynic@mail.cz >ICQ: 2808 2505 > > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#29279) next »