asp.net - Is cookies shared between two applications on same host machine -



asp.net - Is cookies shared between two applications on same host machine -

i have 2 application hosted on machine urls below.

"//mymachine:port1/appl" "//mymachine:port2/app2"

both app1 , app2 utilize same login credentials. problem when user logs out of app2, app1 seems logged out , redirects login page. there settings in iis logout in app2 not impact app1.

browser stores cookies base of operations on domain name , path, if pay attending cookie tab of firebug see session cookies of localhost stores in localhost domain name. 2 application have same cookies. can store application cookies on different path.

response.cookies.add(new httpcookie("data") { value = "....", path = "/app1" }); response.cookies.add(new httpcookie("data") { value = "....", path = "/app2" });

asp.net asp.net-mvc cookies iis-7.5

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -