I don't see the solution,

Zend_Session::regenerateId();
     Zend_Session::setId('13123');

fails with same error.

i need to set exact session ID in order to regenerate specific session.

Please provide code snippet if you see the way to achieve this.

Regards,
Saša Stamenković


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

> Hi,
>
>
> Саша Стаменковић wrote:
>
>> 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.
>>
>
> Well, I think we had established already that that makes perfect sense ...?
> You might want to look into Zend_Session::regenerateId() for your purposes.
> Seeing as you were referring to the unit test for regenerateId(), I thought
> you had found that out already.
>
> Gerard
>

Reply via email to