[dancer-users] Question About Session Variables
Richard Reina
gatorreina at gmail.com
Thu Nov 19 03:40:12 GMT 2015
Andrew,
Thanks for the clarification. I figured there must be a way for it to be kept straight.
> El 18 nov 2015, a las 5:03 PM, Andrew Solomon <andrew at geekuni.com> escribió:
>
> Fear not, Richard!
>
> The great thing about sessions is that they're indexed by cookies, and each of your users gets their own cookie so there's no overlap.
>
> This blog of mine might be helpful in understanding how it all works:
>
> http://blog.geekuni.com/2015/06/three-ways-to-implement-sessions.html
>
> Andrew
>
>
>> On Wed, Nov 18, 2015 at 10:47 PM, Richard Reina <gatorreina at gmail.com> wrote:
>> Hello All,
>>
>> Hypothtetical question: When user 'A' logs in to my Dancer2 App, the app creates the session variable 'user_id' after authenticaltion and passes it to to other routes throughout the app. If at that point another user logs in, user B or even multiple users, is there any risk of the session 'user_id' getting overwritten by another user?
>>
>>
>> _______________________________________________
>> dancer-users mailing list
>> dancer-users at dancer.pm
>> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
>
>
> --
> Andrew Solomon
>
> Mentor at Geekuni http://geekuni.com/
> http://www.linkedin.com/in/asolomon
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20151118/e06687eb/attachment.html>
More information about the dancer-users
mailing list