Bug #69006 [NEW]: session fail to start?
From: simon_freedom125 at hotmail dot com
Operating system: windows
PHP version: 5.6.5
Package: Session related
Bug Type: Bug
Bug description:session fail to start?
Description:
------------
The actual version of php is actually 5.6.3
The session does not persist when I set cookie for the session id to
last not until the browser is closed. example, to last for a day.
When the session id is set to last until the browser is closed, the
session start works on subsequent page request.
Tested on 3 browsers - chrome, mozilla, and IE. This only happens on
IE.
realized this problem after upgrading from php 5.4+
I used the session_name function to change the default, so I am not
using PHPSESSID. Not sure what is the actual cause.
Test script:
---------------
session_name('sessionID');
setcookie('sessionID',$sessionID,time()+3600*24,'/',NULL,true);
--
Edit bug report at https://bugs.php.net/bug.php?id=69006&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69006&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69006&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69006&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69006&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69006&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69006&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69006&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69006&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69006&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69006&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69006&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69006&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69006&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69006&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69006&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69006&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69006&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69006&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69006&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69006&r=mysqlcfg
Thread (16 messages)
- simon_freedom125 at hotmail dot com
- yohgaki@php.netBug #69006 [Opn->Fbk]: session fail to start?
- yohgaki@php.netBug #69006 [Fbk]: session fail to start?
- yohgaki@php.netBug #69006 [Fbk]: session fail to start?
- simon_freedom125 at hotmail dot comBug #69006 [Com]: session fail to start?
- simon_freedom125 at hotmail dot comBug #69006 [Fbk->Opn]: cookie problem
- yohgaki@php.netBug #69006 [Opn]: cookie problem
- yohgaki@php.netBug #69006 [Opn->Fbk]: cookie problem
- simon_freedom125 at hotmail dot comBug #69006 [Com]: cookie problem
- simon_freedom125 at hotmail dot comBug #69006 [Com]: cookie problem
- rasmus@php.netBug #69006 [Fbk]: cookie problem
- simon_freedom125 at hotmail dot comBug #69006 [Com]: cookie problem
- simon_freedom125 at hotmail dot comBug #69006 [Com]: cookie problem
- php-bugs at lists dot php dot netBug #69006 [Fbk->NoF]: cookie problem
- requinix@php.netBug #69006 [NoF->Nab]: cookie problem
- lokendra dot kushwah at galaxyweblinks dot inBug #69006 [Com]: cookie problem