Parent Directory | Revision Log | Patch
revision 93 by torben, Thu Nov 29 05:21:04 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 | ||
<&header title="--Template--"> | ||
</&header> | ||
17 | <{ | <{ |
18 | if (userName.size() == 0) | if (userName.size() == 0) |
19 | { | { |
20 | reply.setHeader("Refresh", "0; url=login"); | reply.setHeader("Location", "index"); |
21 | return HTTP_OK; | return HTTP_MOVED_TEMPORARILY; |
22 | } | } |
23 | }> | |
24 | ||
25 | ||
26 | <&header title="--Template--"> | |
27 | </&header> | |
28 | ||
29 | <{ | |
30 | ||
31 | tntdb::Connection conn = tntdb::connect(dburl); | tntdb::Connection conn = tntdb::connect(dburl); |
32 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |