Great idea! The best solution is a simple solution. Thanks.
20.07.2015 19:36 пользователь "Dan Book" <[email protected]> написал:

> You could reset the session cookie from the javascript. However the
> simplest way is probably to have the javascript make an AJAX request
> separate from the websocket, to renew the session.
>
> On Mon, Jul 20, 2015 at 11:15 AM, Александр Грошев <
> [email protected]> wrote:
>
>> How I can extend session expiration when user using only websocket
>> connection?
>> In my application almost all the data between the server and the client
>> go through websocket. But when going to another page it turns out that the
>> session has already expired and need to login again. I would like to avoid
>> this and extend the user's session if there is an active connection via
>> websocket.
>> Thanks in advance for any help.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Mojolicious" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/mojolicious.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to