Showing posts with label Session. Show all posts
Showing posts with label Session. Show all posts

Reading Cookie from Other Website with Different Domain

By W3C rule, a web browser is not permitted to read cookies from different site with different domains. So how do we beat the challenge of reading cookies from other 3rd party site when let's say you were task to integrate it in your site and there are some needed parameters that are stored on 3rd party cookies which you need to read.

You'll need your Network Admin guy for this task or if you have access to CPanel or similar UI which allows your to assign subdomain alias (CNAME).

Single Login Session Between Websites

Single sign-on or login allows user to login from one site or another and authentication happens only once per active session. Without this mechanism, it would be annoying to the user whenever he wants to switch between website and prompted again to login.

In ASP.NET, to implement single sign-on or login between websites on same domain with different subdomain, do the following: