Thanks for the answer and the advice. After reading your answers I think I
will use just simple sessions, as you said it makes sense. If in the future
I need something more, I'll try the sessions in cookies, sounds like a good
alternative.
El domingo, 10 de marzo de 2013 14:43:10 UTC+1, Anthon
>
> Err... I thought that I knew what cookies and session meant, but I am not
> so sure right now (for me session was always stored in server, using *"
> session.name"* in web2py... cookies are stored in user browser... and I
> am not very sure of how to use them, I think they are set using
> r
El domingo, 10 de marzo de 2013 14:32:59 UTC+1, Niphlod escribió:
>
>
>
> On Sunday, March 10, 2013 2:20:02 PM UTC+1, Jaime Sempere wrote:
>>
>> Thanks for your answer.
>>
>> I am not storing too much, currenty I am storing for every user these
>> strings:
>>
>> facebook_id
>> another string for
Using session makes sense. If for some reason you prefer cookies rather
than server-side sessions, there is an option to store sessions in cookies
-- see near the end of this section:
http://web2py.com/books/default/chapter/29/04#session. In that case, you
won't have to change any code and stil
On Sunday, March 10, 2013 2:20:02 PM UTC+1, Jaime Sempere wrote:
>
> Thanks for your answer.
>
> I am not storing too much, currenty I am storing for every user this
> string:
>
> facebook_id
> another string for the category of the forum where the user is right now
> the thread page were the us
Thanks for your answer.
I am not storing too much, currenty I am storing for every user this string:
facebook_id
another string for the category of the forum where the user is right now
the thread page were the user is
the page of thread list
This is for every user. I've been trying to use cooki
storage? yes. Performance? maybe.
storing session in cookies has the big advantage to not require any kind of
load balancer with sticky session for large deployments (i.e. from 20
web2py instances up), but at the added cost of unpacking and repacking the
cookie at every request. Also, be sure th
7 matches
Mail list logo