Will two web applications share the same session ID?

Configure the sessionState element in your web. Config to use cookieName="SOME_COOKIE_NAME_HERE" in both apps and you should be able to handle the Session_Start event in Global. Asax and put this code: HttpCookie cookie = new HttpCookie("SOME_COOKIE_NAME_HERE", Session.SessionID.

ToString)); cookie. Expires = DateTime.Now. AddMinutes(20); cookie.

Domain = "*.mydomain. Com"; Response. SetCookie(cookie).

Configure the sessionState element in your web. Config to use cookieName="SOME_COOKIE_NAME_HERE" in both apps. And you should be able to handle the Session_Start event in Global.

Asax and put this code: HttpCookie cookie = new HttpCookie("SOME_COOKIE_NAME_HERE", Session.SessionID. ToString)); cookie. Expires = DateTime.Now.

AddMinutes(20); cookie. Domain = "*.mydomain. Com"; Response.

SetCookie(cookie).

This is what commented by adatapost – Knvn Sep 7 at 12:32 -1 for just copying from an already linked question without a ref to the source. At least try to show that you know something about the topic by rephrasing it or something if you are rep hunting. – Jan Jongboom Sep 7 at 12:53 -1.

Sorry, but this answers a completely different question. – Heinzi Sep 7 at 13:04.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions