Is this still the recommended way to send logged in users to a particular page?
I was looking for how to send my logged in users to a particular page, and eventually found this thread after a fair bit of time searching. So I'm just echoing a desire to see this (I suspect) very common case addressed in the W2P documentation somewhere – unless it has been, and I just haven't found it yet. It's always questionable to find an answer to this kind of problem in a thread like this – I believe it probably works (or did work 2 years ago), but always want to know what the "official" method is. :) On Thursday, December 6, 2012 7:06:14 AM UTC-8, Kostas M wrote: > > Peter, I agree with you 100% regarding the ambiguous documentation, and > the lost time back and forth, among google searches and source code > reading... I am one of them! > > Kostas > > > >> 'These must point to the URL you want to redirect your users to after the >> various possible auth actions (in case there is no referrer): ' >> >> This is an example of documentation that can only be understood by the >> person who wrote it, or other people who already know the answer. >> >> I expect everyone new to this expects setting auth.setting.register_next >> to a URL will cause the redirection. They all then find out the hard way >> it does not work. Trawl through the forums and try various things until >> coming up with a solution. I wonder how much time has been wasted on this >> (and the login_next etc). >> >> Peter >> >>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.