Parent Directory | Revision Log
Replace HTTP Refresh: redirection with Location:
1 | torben | 78 | |
2 | |||
3 | <%session scope="global"> | ||
4 | std::string userName; | ||
5 | bool isAdmin; | ||
6 | </%session> | ||
7 | |||
8 | |||
9 | <{ | ||
10 | userName = ""; | ||
11 | isAdmin = false; | ||
12 | torben | 94 | reply.setHeader("Location", "index"); |
13 | return HTTP_MOVED_TEMPORARILY; | ||
14 | |||
15 | torben | 78 | }> |
ViewVC Help | |
Powered by ViewVC 1.1.20 |