Ok, thanks I found that and works for me. What I can't get workingis the url http://localhost:8080/logout_handler.
I want this to return to the referrer page after the user is logged out. Is that possible? On 09/01/2009, Chen Houwu <[email protected]> wrote: > > you can refer to the quickstart generated project. > especially templates/login.html and root.py/login. > > It use a variable 'came_from' to memorize the original page > > On 1月9日, 下午5时28分, heretoo <[email protected]> wrote: >> How do I generate a url that points to the login page handled by >> repoze.what, which then redirects back to the originating page after >> login is successful? >> >> I have <a href="${tg.url('/login')}">Login</a>, at the moment, but >> redirects tohttp://localhost:8080/only. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

