Forum Discussion
Juerg_Wiesmann
Aug 27, 2015Nimbostratus
I try to wait with the redirect till the session is removed using the while /after combination. That does the job most of the time.
when HTTP_REQUEST {
if { [HTTP::uri] equals "/test" } {
ACCESS::session remove
set x [ACCESS::session sid]
while {[ACCESS::session exists $x]} {
after 1000
HTTP::redirect "/test2"
}
}