--- trunk/tntnet/dynamic/logout.ecpp 2007/11/28 14:27:51 80 +++ trunk/tntnet/dynamic/logout.ecpp 2007/11/29 08:04:13 94 @@ -1,7 +1,4 @@ -<%config> -dburl; - <%session scope="global"> std::string userName; @@ -9,13 +6,11 @@ -<&header title="--Template--"> - <{ userName = ""; isAdmin = false; -reply.setHeader("Refresh", "0;url=index"); +reply.setHeader("Location", "index"); +return HTTP_MOVED_TEMPORARILY; + }> -<&footer> -