Also I could add a method called logInFirst which would return a TestAccess that if the user is logged in returns Empty, and if not sets loginRedirect and returns Full(RedirectResponse(User.loginPageURL)). I am currently using such a TestAccess in one of the top menus (minus the nonexistent lognRedirect). If there's a better way tell me!
------------------------------------- Naftoli Gugenheim<naftoli...@gmail.com> wrote: Using MegaProtoUser, how do you: 1. Have logging in redirect to the page that redirected to log in? 2. Automatically log in using cookies? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---