#27403 [NEW]: session maintenance across SSL and Non SSL pages
| From: | venky at smartxp dot com | Date: | Thu, 26 Feb 2004 12:09:30 +0000 |
| Subject: | #27403 [NEW]: session maintenance across SSL and Non SSL pages | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-55597@lists.php.net to get a copy of this message | ||
From: venky at smartxp dot com
Operating system: Linux
PHP version: 4.3.4
PHP Bug Type: Session related
Bug description: session maintenance across SSL and Non SSL pages
Description:
------------
When i access through
http://mydomain/start.php
it creates a session file and start session.
Again when i access same file in same browser through SSL
https://mydomain/start.php
Warning: session_start(): open(/tmp/sess_5e99b05aa4e84d8304778ab34ae8e68a,
O_RDWR) failed: Permission denied (13) in
/home/www/hollywoodclicks/index.php on line 1
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at /home/www/hollywoodclicks/index.php:1) in
/home/www/hollywoodclicks/index.php on line 1
Reproduce code:
---------------
start.php
<?
session_start();
?>
Expected result:
----------------
When i access through
http://mydomain/start.php
it creates a session file and start session.
Again when i access same file in same browser through SSL
https://mydomain/start.php
Warning: session_start(): open(/tmp/sess_5e99b05aa4e84d8304778ab34ae8e68a,
O_RDWR) failed: Permission denied (13) in
/home/www/hollywoodclicks/index.php on line 1
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at /home/www/hollywoodclicks/index.php:1) in
/home/www/hollywoodclicks/index.php on line 1
Actual result:
--------------
It should maintain maitain the same session across SSL and Non SSL pages
--
Edit bug report at http://bugs.php.net/?id=27403&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27403&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27403&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27403&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27403&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27403&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27403&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27403&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27403&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27403&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27403&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27403&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27403&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27403&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27403&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27403&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27403&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27403&r=float