ID:               51115
 Comment by:       m dot keckeis at solarys dot com
 Reported By:      m dot keckeis at solarys dot com
 Status:           Feedback
 Bug Type:         Session related
 Operating System: Debian Linux
 PHP Version:      5.2.12
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2010-02-22 17:25:08] sni...@php.net

And with any other browser it's not slow?

------------------------------------------------------------------------

[2010-02-22 16:10:50] 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



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=51115&edit=1

Reply via email to