cancel
Showing results for 
Search instead for 
Did you mean: 

Service Layer maximum session duration

0 Kudos

HI Experts

One of our customers asked us to extend Service Layer session duration to 8 hours. My question is if its safe from performance point of view or any possible technical issues in the future ?

Best

Kriss

Accepted Solutions (1)

Accepted Solutions (1)

former_member197733
Contributor

No, it's not performance optimal and neither the smart thing to do.

In your case I would create a middleware to manage the SL connection, store the used Session ID in cache and everytime this sessions is expired, make the connection again.

I did this already in the SMB Mkt prototype.

In this case Redis cached the SessionID and every time the cookie expired, I the app reconnects.

Answers (1)

Answers (1)

0 Kudos

Thank you Ralph!