Hi Massimo, Anthony,
 
Thanks for your replies. I mistakenly thought that it was the "Tell 
websites I do not want to be tracked" option that caused the registration 
to fail - it was actually because the "Accept cookies from sites" Firefox 
option was disabled.
 
Taking Anthony's suggestion, I tried adding some Javascript to 
applications\welcome\views\default\user.html
 
if (!navigator.cookieEnabled)
{
    alert("Session cookies appear to be disabled. Please enable them in 
your browser settings to be able to register an account.")
}
NC

On Friday, August 31, 2012 9:05:50 PM UTC-4, Massimo Di Pierro wrote:

> You are right. if auth.remember is set the cookie will have an expiration. 
> that must be the problem.
>
> On Friday, 31 August 2012 18:50:34 UTC-5, Anthony wrote: 
>>
>> If you include the "remember me for 30 days" option on the login form, I 
>> think it does set a cookie expiration, right? Maybe that's the problem. Of 
>> course, someone who doesn't want to be remembered probably shouldn't check 
>> the "remember me" option. 
>>
>> Anthony
>>
>> On Friday, August 31, 2012 5:54:58 PM UTC-4, Massimo Di Pierro wrote: 
>>>
>>> Do not track means: "do not remember me" 
>>> Login means: "please remember me"
>>>
>>> they are both manages through cookies. Cookies without expiration should 
>>> be treated by the browser as session cookies and do not ignore them even if 
>>> you do not want to be tracked. Web2py does not set an expiration for 
>>> session cookies therefore they should not ignored by firefox. I am not sure 
>>> what is wrong. Have you setup the option "allow session cookies"? can you 
>>> login in other web sites?
>>>
>>> massimo
>>>
>>> On Friday, August 31, 2012 4:15:54 PM UTC-5, nc wrote: 
>>>>
>>>> Hi,
>>>>
>>>> I'm new to web development and just started trying out web2py 
>>>> (v.2.0.3). I found that the user registration in the Welcome application 
>>>> was not working for me: after filling in the form and clicking the 
>>>> Register 
>>>> button, the fields in the form would just all get emptied and there would 
>>>> be no other feedback. After trying different browsers and browser options, 
>>>> it seems this happens when using FireFox (v.14.01) with browser option 
>>>> "Tell websites I do not want to be tracked" checked on. How would one 
>>>> modify the Welcome application so that a visitor that has that browser 
>>>> option set can still register?
>>>>
>>>> Thanks,
>>>>
>>>> NC
>>>>
>>>

-- 



Reply via email to