Parent Directory | Revision Log | Patch
revision 83 by torben, Wed Nov 28 17:03:27 2007 UTC | revision 94 by torben, Thu Nov 29 08:04:13 2007 UTC | |
---|---|---|
# | Line 14 std::string userName; | Line 14 std::string userName; |
14 | bool isAdmin; | bool isAdmin; |
15 | </%session> | </%session> |
16 | ||
17 | <{ | |
18 | if (userName.size() == 0) | |
19 | { | |
20 | reply.setHeader("Location", "index"); | |
21 | return HTTP_MOVED_TEMPORARILY; | |
22 | } | |
23 | }> | |
24 | ||
25 | ||
26 | <&header title="--Template--"> | <&header title="--Template--"> |
27 | </&header> | </&header> |
<{ | ||
28 | ||
29 | if (userName.size() == 0) | <{ |
reply.setHeader("Refresh", "0; url=login"); | ||
30 | ||
31 | tntdb::Connection conn = tntdb::connect(dburl); | tntdb::Connection conn = tntdb::connect(dburl); |
32 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |