php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51115 session_start() IE8 slow
Submitted: 2010-02-22 16:10 UTC Modified: 2010-03-03 18:27 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: m dot keckeis at solarys dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.12 OS: Debian Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: m dot keckeis at solarys dot com
New email:
PHP Version: OS:

 

 [2010-02-22 16:10 UTC] m dot keckeis at solarys dot com
Description:
------------
session_start() in combination with IE8:

When i get the SID over GET it's normal (fast).
But when the SID come from a cookie it's slow.

This method needs 0,5s to get done with Cookie handling from IE8.
I don't know if it's an IE8 problem or a PHP problem, but it's very annoying.

When i checked the cookie information which is saved, there only stands ".net" instead of the whole domain.

More information are here available:
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/b171c33a-53e2-4174-a876-554fe0729208


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-22 17:25 UTC] sniper@php.net
And with any other browser it's not slow?
 [2010-02-23 07:20 UTC] m dot keckeis at solarys dot com
Yes, every other browser is fast!

Nearly the same problem here:
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/b171c33a-53e2-4174-a876-554fe0729208

The problem with the domain i tried to "solve" with setting the session cookie again with the setcookie() function and then it worked.

As u can see in my post:
http://social.msdn.microsoft.com/Forums/en/iewebdevelopment/thread/8263235f-4992-46d3-9d01-5a3566bd7119
I set the domain normally to both cookies, but the parameter in the sessioncookie get ignored.

This is one problem. The second thing is: session_start() needs long, but why?
The cookie parameter gets send to the server with every GET request (which is normal) so why PHP needs so long for getting the cookie parameter?

I tried now every possibility out which u can do with sessions and cookie handling, but the only solution to get it fast is currently save it in the URL via GET.
As soon as you use cookie for session -> session_start() needs long.
For "normal" cookies the time is okay. F.x. i use a cookie for language and this don't need "extra" time
 [2010-03-03 18:27 UTC] jani@php.net
-Status: Feedback +Status: Bogus
 [2010-03-03 18:27 UTC] jani@php.net
IE8 bugs are not PHP bugs.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 13:01:32 2024 UTC