Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

ApplicationUnlocker Class Reference

#include <tnt/applicationunlocker.h>

List of all members.

Public Member Functions

 ApplicationUnlocker (HttpRequest &request_, bool release=true)
void unlock ()
void lock ()


Detailed Description

Unlocks the application (and session) as long as the object is in scope.

Normally the application is locked as soon as a request uses somewhere a application variable. Sometimes it is desirable to explicitely release that lock, e.g. when a request has some longer task to do.

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6