Is it possible to configure multiple sessionState in my web.config?
<sessionState mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424"
cookieless="false"
timeout="20"/>
<sessionState mode="SQLServer"
stateConnectionString="tcpip=127.0.0.1:42424"
cookieless="false"
timeout="20"/>
If done so, what may be the implications?
If you are asking why do I want to do that, don't. It was done like that.
Just want to know if it is possible (it is clearly and there is no error). Will it use the first? the second? both? none?
Thanks
It's not possible, like Brando says, but you could get around this by implementing your own SessionState-provider or, depending on the requirements, using a HttpModule and modifying the session object in the HttpContext.