#37364 [NEW]: Login with cookies works with firefox but not with IE
From: blunt_bill at hotmail dot com
Operating system: Slackware 10.2
PHP version: 5.1.4
PHP Bug Type: Unknown/Other Function
Bug description: Login with cookies works with firefox but not with IE
Description:
------------
I use cookie authentication a page to allow administration to users.
The problem is when i try to login with Internet explorer (different
machines, all operating with MSIE 6 and windows XP). The cookies are not
set (when i access temporary internet files the files with the cookie
contents are not created).
If i try to login with firefox the cookies are written and work 100%.
I tried to use setcookie() and setrawcookie().
My PHP version is 5.0.5 from linuxpackages.net, Apache2 and apache2php
from there too.
Reproduce code:
---------------
setrawcookie('admin-user', $username, time()+$expiry, "/", false, 0);
setrawcookie('admin-pass', $password, time()+$expiry, "/", false, 0);
Expected result:
----------------
cookies should be set with both browsers (IE and firefox)
Actual result:
--------------
firefox cookies are set, IE cookies are not.
--
Edit bug report at http://bugs.php.net/?id=37364&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37364&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37364&r=trysnapshot51
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37364&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37364&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37364&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37364&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37364&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37364&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37364&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37364&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37364&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37364&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37364&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37364&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37364&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37364&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37364&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37364&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37364&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37364&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37364&r=mysqlcfg
Thread (9 messages)
- blunt_bill at hotmail dot com