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

Sessions expire in 90m instead of 2h as the counter suggests #127

Open
vec4 opened this issue Jul 24, 2020 · 0 comments
Open

Sessions expire in 90m instead of 2h as the counter suggests #127

vec4 opened this issue Jul 24, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@vec4
Copy link
Collaborator

vec4 commented Jul 24, 2020

PWD's newSession function spawns sessions for 90 minutes, but our timer on the page counts down for 2 hours. After 90 minutes are up, the console in the browser is not useable.

The 90 minutes parameter is encoded in the URL for the POST request in the PWD SDK under the createSession() function, which is called within the newSession routine. Since we are using the dist for the SDK, I think the only way to change this would be to create a wrapper that does the POST request ourselves or build the PWD SDK with our modifications and use that script. Another option is to override the parameter in the golang handler in PWC. Or we can change the client timer to match PWD. It is disappointing that this is not a configurable parameter on the PWD side though.

@vec4 vec4 added the bug Something isn't working label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant