I only know that:

Zend_Session::setId('13123');

fails with

"Zend_Session_Exception: The session has already been started. The session
id must be set first."

if session is already started.

Please correct me if I'm doing it wrong.

Regards,
Saša Stamenković


On Tue, Feb 2, 2010 at 2:14 PM, drm <[email protected]> wrote:

> Hi,
>
> Саша Стаменковић wrote:
>
>> No.
>>
>> From Zend_Session.php
>> [snip]
>>
>>
>> Always throw exception if SID is defined.
>>
>> PHP manual is also clear about this (
>> http://www.php.net/manual/en/function.session-id.php):
>> [snip]
>>
>
> Setting a session id and regenerating it are two distinct things, see
> http://php.net/session-regenerate-id example #1
> So I agree with Pádraic that it should in fact work, even after the session
> has been started.
>
> Are you sure you are using the correct logic for this?
>
>
> drm / Gerard
>

Reply via email to