asp.net - Don't want to share session -


i have 2 asp.net mvc applications a.xyz.com/customer , a.xyz.com/customertest.

i have implemented cookie-based formsauthentication. name of auth cookie (auth , authtest) different in both applications. problem when browse applications in same browser, session cookies available in both apps. when abandon session in 1 application, second application's session abandons well.

both applications running under same app pool. cannot change app pool having rewrite rules not available if change app pool.

i don't want share session between these 2 applications.

please let me know if possible , how?

it done.

i have changed session cookie name of both applications in sessionstate.

<sessionstate mode="inproc" cookieless="false" timeout="60"  cookiename="prodsession" />  <sessionstate mode="inproc" cookieless="false" timeout="60"  cookiename="testsession" /> 

Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -