Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: session persistence for non browser based services

$
0
0
niharika.jain@validsoft.com Wrote:
-------------------------------------------------------
> MyProject server creates a session id and sends it back in case of
> stateful calls, back to the client server and this id is carried in
> subsequent request-response.
>
> This workflow is in place and working till we have 1 server. In case
> of 3 servers, we need to make step 4 and 5 sticky, so that all
> requests for a session id goes to the same server.

For the sake of conversation, what if you always create a session id with additional information about the state type and use that to determine what is going where? (at step 4)

ea. request/?data=xxxx&sessionID=yyyyy&state=zzzz

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>