I tried the solution in this thread but unsuccessful:
http://groups.google.com/group/web2py/browse_thread/thread/9e2441a938368b3a/451cfaf61e60a731?lnk=gst&q=double+redirect#451cfaf61e60a731

Anyway idea ?

Yannick P.

On Dec 10, 10: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')
>
> 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 at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to