I have implemented a WCF REST web service and I am using SSOS to manager distributed session.
My Web config contains this
This returns ASP.NET session info "Set-Cookie" header. I need to stop returning session details to client side. Setting cookieless="true" didn't work and it gave errors. How to avoid sending "Set-Cookie" header in response.
My Web config contains this
Code:
<sessionState mode="Custom" customProvider="SossStoreProvider" cookieless="UseCookies"> <providers>
<add name="SossStoreProvider" type="Soss.Web.SossStoreProvider, soss_storeprovider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a1ec0b86f746a476" /> </providers>