We are using COOKIEINSERT set to use session cookies with 4 servers behind the NetScaler. If i open the webpage, it loads OK. If i remove the NetScaler added cookie and refresh the page I am asked to login again (uses windows auth, NTLM). The caveat is providing the request happens to go to the same server it succeed. If it picks another server, it fails with the login.
The removal of that cookie isn't a likely scenario in normal circumstances. However, we have another application that makes requests to the API exposed by this same web app. If the cookie does not exist, the multiple AJAX requests that fire at roughly the same time may or may not work and each request may go to a different server (we have HTTP headers to see this is the case).
- Is the need to login again if that cookie is removed a fault?
- How does the NetScaler deal with a multiple request like this when i presume if has tried to set a persistent session to one server? Does it care that the same client is making/initiated requests to different servers? Despite it being a session cookie the NetScaler does some kind of tracking?