Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a refresh is performed on the page all chat sessions are lost. #34

Open
ashward opened this issue Jun 1, 2013 · 1 comment
Open

Comments

@ashward
Copy link
Member

ashward commented Jun 1, 2013

As title - a refresh of the chat page losses all previous chat sessions, and therefore history. An improvement will be to make the client resilient to a page refresh.

@ashward
Copy link
Member Author

ashward commented Jun 1, 2013

This is not straightforward. As the entire application runs within the web browser doing a page refresh is akin to closing and reloading a normal desktop application.

The client would need to keep a track of the state of the currently open chat tabs, perhaps in a session cookie on the browser.

We also have the problem that when the chat page is unloaded (which happens when closing the browser, or refreshing the browser or navigating away) then the client necessarily sends an "offline" presence which then removes the user from any group chats which they may be a part of. I'm not sure whether it's then possible for the user to re-join the group chats without being re-invited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant