#include <tnt/sessionunlocker.h>
Public Member Functions | |
| SessionUnlocker (HttpRequest &request_, bool release=true) | |
| void | unlock () |
| void | lock () |
Normally the session is locked as soon as a request uses somewhere a session variable. Sometimes it is desirable to explicitely release that lock, e.g. when a request has some longer task to do.
This frequently happens in reverse ajax, where the request blocks while waiting for a event.