Last post Jul 09, 2014 01:02 AM by ramu.net
Jul 04, 2014 08:46 PM|uroosa|LINK
I need to share session between two applications with different databases ..I have seen examples of using sql server but with same database..How to handle with different databases as I don't want to do it with query Strings.Any help would be appreciated.
Jul 05, 2014 02:33 AM|riteshtandon23|LINK
You can use OAuth 2 to share session value between two application, This will make a secure layer with security.
Jul 05, 2014 01:28 PM|jasminder.33|LINK
Why not use the out proc session mode. This will provide a common database for Session, for both the separate databases. Try these for a start up :
Jul 09, 2014 01:02 AM|ramu.net|LINK
You'll need a way to convince your browser to send the same ASP.NET session cookie regardless of which site it visits.
If the cookie isn't present on the request, then a new session will get created with that key.
I think you can get the browser to retain the key with some sneaky DNS configs - if you assignhttp://website1.mydomain.com/ and http://website2.domain.com/ to
be the addresses of your sites, then set the domain of the ASP.NET session cookie to "domain.com", then your browser will send it to both sites and the session should be shared.
You may also be able to use cookieless mode with ASP.NET, and grab the session ID from the generated URLs.
May this help you.