Asp.net Single Sign-On Solution
Wu jian2009-06-24
OriginalArticle, Reprint must indicate the source: http://www.cnblogs.com/wu-jian
Preface
This is an old article written in. It introduces the design, process, implementation key points,
If you have a bad memory like an author, you may not be able to remember people's names. When I met someone, I just nodded and asked, "Have you eaten !", And expect greetings to end here
. If you still need to express something, I have to turn to
My website domain name is www.yining.org. There is a page (for example, this blog entry) with an image. Its SRC is/img/camel.gif, and its URL is: "http://www.yining.org/img/camel.gif.pdf ". If a cookie is set on this page (for example, to record the
Javascript objects are instantiated. They can only be used but cannot be used to create new subclasses that inherit from these objects.
The window object is the parent of all objects.Window objects have the following attributes: name, length,
Forum Domain Name: forum.web.net (virtual)
The website domain name is www.web.net (Virtual too)
Log on to the background of the Forum with an administrator account and set "authentication cookie domain:" To .web.net.
After the Forum is configured,
Scenario:
Currently, three domains, aa.com, bb.com, cc.com, and aa.com, are user centers, and login.aa.com are user center logon portals. Currently, you must log on to any domain. You do not need to log on to other domains again.
Solution:
We know
In JavaScript scripts, a cookie is actually a string attribute. When you read the cookie value, you get a string containing the names and values of all cookies used on the current web page. Each Cookie has four attributes besides the name and value
[ZZ from: http://www.yining.org/2007/08/29/dns-lookup-domain-names-and-cookies/]Reducing DNS lookup can shorten the page response time, but it is not the best way to reduce DNS lookup to one by using only one domain name for all website resources.
I. symptom:
In WebLogic, there are two different domains A (Port: 9000) and B (Port: 8000). Application CA in Domain A and CB in Domain B perform the following operations:
1. First log on to the application Ca, then log on to the application CB,
A cookie transfer problem occurs in a specific IE6 version (2900.2180 XP SP2 GDR) recently. For this reason, refer to rfc2109.http: // tools.ietf.org/html/rfc2109
If Chrome/FF sends data to a. B .c.com, the cookie with domain B .c.com will not
There are two methods for reading and writing cookies: Program writing and JS writing,
1 written by program
For example:
/*** Read cookie by name*/Public object getcookie (string name ){Cookie [] cookie = request. getcookies ();Object object =
Some days ago, a colleague from other development departments found out about SSO Single Sign-On. They wanted to perform single sign-on and integrate with our systems, I want to help you with single-point logon and learn about the single-point logon
1. Static cookie Creation
It takes about 80% to 90% of the time, and the visitor will spend a lot of time waiting for your Wordpress to Load Static content. This means that most of the time users browse your website, they are waiting to load, such
Cookies. Some people like them and some hate them. However, few really know how to use them. Now you can become a member of a few people-a cookie master who can be proud of himself.
If you have a bad memory like an author, you may not be able
1. Introduction1. Introduction to multi-server data sharing for memcache + memcache, See http://www.guigui8.com/index.php/archives/206.html2. session mechanism:The session mechanism is a server-side mechanism. The server uses a structure similar to
JQuery plug-in, jquery plug-in LibraryCookie is a small text file that the website designer places on the client. Cookies can provide users with a lot of services. For example, a shopping website stores the list of products that users have browsed,
Talking about PHP Cookie processing functions and phpcookie Functions
(O too many records) o ☆[ BINGO!]
OK. Let's first look at what cookie is?
Cookie is a small file that the server stays on the client to identify users or store some data (note
Use apache to configure tomcat applications and integrate php Forum-discuz and tomcat-discuz
A web application recently developed. The main site is a tomcat-based java application, which needs to be integrated with the php Forum discuz.
The tomcat
ASP. NET Cookie Overview
Cookie provides a way to store user-specific information in Web applications. For example, when a user accesses your site, you can use cookies to store user preferences or other information. When the user visits your
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.