Mathijs wrote:
Hello again,

I Use session_write_close() so the page loads quicker because i use session on multiple place.
This because session has protection for race conditions.

Now it works very well and i don't have any problems at all.
I only see that there are multiple session cookie headers set.
I Personally think that one is enough :P.

How can i make it so that it just sets just one and not set this header every time i call session_start or session_write_close.
Because i don't know when the cookie is set.

I think this will be an either/or situation.

Either it only sends one session cookie header and you don't use session_write_close all over the place..

or, it sends multiple cookies and you do use session_write_close all over the place.

The internals of php would set this behaviour, not something you can change without changing the C code.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to