Hi,

When calling Zend_Session::writeClose(false) in a routeStartup() function,
it seems that it is ignored and all the following writeClose calls will be
ignored.

I have done some tests with writeClose(false) method :

request A)
session <- 1 (put value 1 into some session variable)
writeClose(false)
session <- 2

display session variable: 1
EXPECTED behaviour

request B)
writeClose(false)
session <- 3
writeClose(false)
session <- 4

display session variable: 1  (values of B are not stored due to
writeClose(false) in the beginning)
EXPECTED behaviour

request C)
writeClose(false) in routeStartup()
session <- 5
writeClose(false)
session <- 6

display session variable: 6  (all writeClose calls seem to be ignored)
UNEXPECTED behaviour

Anyone knows what happen ?
Thank you !!
-- 
View this message in context: 
http://www.nabble.com/writeClose%28false%29-in-routeStartup%28%29-%3A-unexpected-behaviour-tp25083899p25083899.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to