Reputation: 4373
I need to close session file immediately after write in Zend.
Two routes exist in my controller,module1/controller1/action1
and module2/controller2/action2
. action1 one take long time to execute,so session file doesn't close until end of it.when session file is opened by action1 ,the other actions should wait for session file to writable.
What is the best way to handle this problem?I don't need to handle session by Database.
-- edit
I need to do following in simple way:
while(something){
// open session
// write
// close
}
Upvotes: 0
Views: 138