Freddy, Is there an accompanying download for the book? I bought the book this week, and got stuck on this bit of the redirect after login until I found this thread.
Cheers, Chris On Sun, Oct 11, 2009 at 12:11 AM, Freddy Daoud <[email protected]> wrote: > Hi Rusty, > >> How do I get the url for the current page? I need it for a redirect back >> to the current page after the user logs in. > > Here's how I do it in the Stripes book: > > public String getLastUrl() { > > Lordy, that's a lot of code! Haha - yep, that's why it wasn't printed in the Stripes book ;) ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
