All within a single request, aside from making it "possible", I am interested in the Use case you present for applications to do this.

-ralph

Posted by John Coggeshall (coogle) on 2007-08-06T09:33:58.000+0000

The idea here probably was that I wanted to start from scratch with a new session every time that particular controller was called, although I'm pretty sure the code itself has changed to the point where that use-case has disappeared.

Regardless, nothing should just be silently ignored -- it should either tell me I'm using the API incorrectly or do what I ask it to.

Posted by Ralph Schindler (ralph) on 2008-02-14T15:09:11.000+0000

Added a check in Zend_Session::start() to throw an exception if destroy was called before start().

In r8010.

Posted by venu (tvgece) on 2011-05-31T13:10:29.000+0000

My requirement is, When user agent change session should destroy, and it should start new session. But Zend_Session::start() is throwing an exception if destroy was called before start().

I have a global session management in bootstrap, which validates the request and starts session. By that time, request won't be dispatched. Then why to make another request to redirect to another page? As we already knew that session is wrong one? we could easily start new one right?