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

Use JSESSIONID #29

Open
tokeefe opened this issue Jun 5, 2023 · 0 comments
Open

Use JSESSIONID #29

tokeefe opened this issue Jun 5, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@tokeefe
Copy link
Contributor

tokeefe commented Jun 5, 2023

Every REST API request to XNAT 1.5+ i.e., /data/anything, creates a new server-side session. By default, once a single user has created 1000 sessions, subsequent requests will be turned away with HTTP 401/Unauthorized.

This can be prevented by issuing a GET request to /data/JSESSION, which will return a token that can be passed back to XNAT within a cookie named JSESSIONID.

@tokeefe tokeefe added enhancement New feature or request bug Something isn't working labels Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant