Just be aware of one thing. Flask by default stores sessions in cookies. 
They have a limit of 4K. This means sessions get corrupted or disappear if 
you have large sessions or other cookies from the same domain. So if you 
need sessions I recommend you store them in db.

Massimo

On Tuesday, 17 March 2015 09:02:12 UTC-5, Júlia Rizza wrote:
>
> Jorge, since the front-end migrated to Angular and decided to do most of 
> the app services on his side, I just wanted to use something smaller and 
> simpler, like a micro-framework, considering that I wouldn't need most of 
> the web2py tools. Nothing particular with the framework, just a personal 
> choice.
>
> Em segunda-feira, 16 de março de 2015 23:35:44 UTC-3, JorgeH escreveu:
>>
>> why did you choose to migrate to flask?
>>
>> On Monday, March 16, 2015 at 4:38:40 PM UTC-5, Júlia Rizza wrote:
>>>
>>> Hello,
>>>
>>> I'm migrating an app from web2py to Flask and I want to use Werkzeug 
>>> Security to manage the users passwords, but there is a conflict between the 
>>> passwords hashes of web2py and Werkzeug.
>>>
>>> Werzeug hash:
>>>
>>> pbkdf2:sha512:1000$salt$hash
>>>
>>> Web2py hash:
>>>
>>> pbkdf2(1000, 20, sha512)$salt$hash
>>>
>>> I can't find a way to migrate the hashes and make Werkzeug understand 
>>> them.
>>>
>>> Can anybody help me?
>>>
>>

-- 
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.

Reply via email to