On your login page, you can capture the referer and then redirect to the refering page on successful login.
Are you using ProtoUser or are you rolling your own login page? On Fri, May 15, 2009 at 1:27 PM, glenn <[email protected]> wrote: > > If I wanted to redirect the user to a different page, depending on > what page they were on when they initiated a login, > does anyone know of a good solution? > > I'm thinking I need to use a DispatchLocSnippets and define different > dispatch case functions. But I'm not clear how best to go about it? > Would I need different login pages for each case, or is there a > cleaner way in which I can use a single login page for job? > > Glenn... > > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" 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/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
