Close popover
Frederi Pochard (POCHF)
Senior System Architect
Pegasystems Inc.
POCHF Member since 2009 20 posts
Posted: March 28, 2018
Last activity: April 2, 2018

What is the exact scope of the Maintain Connection option on a Connect REST rule?


Let's make it short: I created a Connect REST rule with both a GET and a POST method.

The GET method is to be used first to retrieve a x-csrf-token. And then this token (which is valid for 24 hours) has to be used as a header parameter of the POST method calls.

Without the Maintain Session option, it's not working as the x-csrf-toekn is session-sensitive. So when calling the POST method after the GET method, these two calls are not made in the same session and the token is not considered valid.

It's working with the Maintain Session option but... I'm worndering what's the exact scope of this option.

Does it mean all the calls this Connect REST rule are going to be made in the same session (shared by all the users/requestors logged on the appplication)?

Or is there one session for each user/requestor?

Or something in-between?

And what is this/these session(s) timeout if any?

Any help understanding this welcome.

Low-Code App Development Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.