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

Don't reset session on change_type #379

Open
axelson opened this issue Sep 15, 2020 · 0 comments
Open

Don't reset session on change_type #379

axelson opened this issue Sep 15, 2020 · 0 comments

Comments

@axelson
Copy link

axelson commented Sep 15, 2020

From looking at the code (and experimenting) it appears that when you have a change_type in your configuration, a new session is generated (unless there is one to restore from):

{_,_} -> % nothing to restore, or no restore asked, set new session

Instead I'd like to be able to keep the session that was previously being used. My use-case is that I am trying to do load testing of Phoenix LiveView and I need to keep the session from an HTTP request to a Websocket request. Is it possible to add such a configuration option?

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

No branches or pull requests

1 participant