On Thu, Dec 10, 2009 at 8:09 PM, Yannick <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> wrote:
>> > > >> On Tue, Dec 8, 2009 at 9:35 PM, Yannick <[email protected]> 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 [email protected].
>> > > > To unsubscribe from this group, send email to 
>> > > > [email protected].
>> > > > 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to