Yes I did comment this out "auth.settings.login_next=URL(r=request, f='profile') " but still same old, the double redirect is still there... I really wonder what trigger that double redirection... there is nothing extra I'm doing here, I fulling using Auth API... Hmmm...
On Dec 11, 9:33 am, Wes James <compte...@gmail.com> wrote: > On Thu, Dec 10, 2009 at 8:09 PM, Yannick <ytchatch...@gmail.com> wrote: > > Hello thanks for the note... > > > I did add "print request.function" > > and Yes there is a double redirection because the output print the > > function login twice : > > login > > login > > > I wonder how to fix this double redirection here is one of the setting > > I have in my controller: > > auth.settings.login_next=URL(r=request, f='profile') > > comment this out just to see what happens... > > or use wingide and see where it goes. > > > > > Do you have any idea... I'll keep debugging... > > > On Dec 9, 11:20 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > >> Add a > > >> print request.function > > >> to your model and check if there is a double redirect. > >> The other possibility is that sessions are not working. > > >> On Dec 9, 9:12 pm, Yannick <ytchatch...@gmail.com> wrote: > > >> > Is anyone already has this issue and where able to solve it... I don't > >> > see any double redirect in my code... > > >> > Thanks for your help... > > >> > On Dec 9, 11:36 am, Wes James <compte...@gmail.com> wrote: > > >> > > Sorry, I'm not sure exactly when/where I made this change in the last > >> > > week. You can use wingide and check what the repsponse.flash is > >> > > between function calls. > > >> > > -wes > > >> > > On Wed, Dec 9, 2009 at 8:49 AM, Yannick <ytchatch...@gmail.com> wrote: > >> > > > Hmm interesting, thanks for the note... I don't think I'm doing a > >> > > > double redirection in my code though... can you please let me know > >> > > > how > >> > > > you resolved that issue when you had it > > > >> > > > Thanks, > >> > > > Yannick P. > > >> > > > On Dec 9, 9:30 am, Wes James <compte...@gmail.com> wrote: > >> > > >> On Tue, Dec 8, 2009 at 9:35 PM, Yannick <ytchatch...@gmail.com> > >> > > >> wrote: > >> > > >> > hello mate, > >> > > >> > I wonder because I noticed that in auth, when the user fails to > >> > > >> > login > >> > > >> > (enter a fake username and password) there is no error message > >> > > >> > returned... > > >> > > >> Yannick, > > >> > > >> I just tried it on one of my sites and I got "Invalid Login" flash > >> > > >> message. > > >> > > >> I had the same issue on one of my forms not showing field > >> > > >> validation > >> > > >> errors. It was as mr.freeze indicated, a double redirect that was > >> > > >> causing this . > > >> > > >> -wes > > >> > > > -- > > >> > > > You received this message because you are subscribed to the Google > >> > > > Groups "web2py-users" group. > >> > > > To post to this group, send email to web...@googlegroups.com. > >> > > > To unsubscribe from this group, send email to > >> > > > web2py+unsubscr...@googlegroups.com. > >> > > > For more options, visit this group > >> > > > athttp://groups.google.com/group/web2py?hl=en. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > > web2py+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.