• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

User sessions

Community Beginner ,
Nov 14, 2007 Nov 14, 2007

Copy link to clipboard

Copied

I have programmed an interface (web app) between external Event Management System and Breeze . Everything is fine until I experienced the problem with session expiration. When the software connects and login I keep BREEZESESSION and use it on every next request. The problem occurs when the application is not requested (and does not requests breeze) for longer time. It looks like the session expires and BREEZESESSION is no longer valid because I get:

<results>
<status code="no-access" subcode="no-login"/>
</results>

as response from the server.
Is it the only solution for this case to check the status of every response and if it is "no-access" then login and redo the request?

Views

1.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Nov 16, 2007 Nov 16, 2007
I will answer myself because I got the solution.
The session expires after 16 hours. If you develop middleware which has to keep the state, check the 'status' code after each request sent to connect xml api. If the status is "no-access" then the session has been expired. Just login your application again and redo the request. that's it.

Votes

Translate

Translate
Community Beginner ,
Nov 16, 2007 Nov 16, 2007

Copy link to clipboard

Copied

LATEST
I will answer myself because I got the solution.
The session expires after 16 hours. If you develop middleware which has to keep the state, check the 'status' code after each request sent to connect xml api. If the status is "no-access" then the session has been expired. Just login your application again and redo the request. that's it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines