Question

1
Replies
144
Views
POCHF Member since 2009 20 posts
PEGA
Posted: 2 years ago
Last activity: 2 years 5 months ago
Closed

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

Hello.

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
Share this page LinkedIn