三個(gè)月后xp發(fā)布,pdc 2001召開,visual studio.net beta2 release ,webservice已經(jīng)蓬勃發(fā)展深入人心,一切突然清晰起來(lái),15天以后msn explorer 7.0發(fā)布,msn主站點(diǎn)迎來(lái)了近兩年多的一次大改版,開始有評(píng)論認(rèn)為發(fā)生變化了,有人已從msn嗅出一種奇特的氣味,這次改版改變到根了,msn explorer宣稱可以和msn網(wǎng)站真正的同步并且成為一個(gè)最美麗的client,msn messenger讓人新奇的發(fā)現(xiàn)actions plane,不久hailstorm被改稱為microsoft .net my services,passport脫離hotmail,messenger成為microsoft .net my services的一員,ms表明今后所有microsoft .net my services的關(guān)鍵是passport,它將是所有web站點(diǎn)和webservice的唯一的一種登錄方式,而且未來(lái)它將會(huì)被發(fā)展成一個(gè)全球化用于授權(quán)的電子商務(wù)平臺(tái)。幾乎一夜之間ms所有的相關(guān)網(wǎng)站赫然出現(xiàn)passport的webui,ep標(biāo)志也出現(xiàn)在近160家的電子商務(wù)網(wǎng)站上。這時(shí)passport用戶已超過165,000,000個(gè)。
if omgr.fromnetworkserver then response.redirect(thisurl) end if
if omgr.hasticket then 'just doing basic auth; any ticket is accepted regardless of age ' signout uses a different site-global url, assumes that this url exists ... rurl = server.urlencode("http://" & request.servervariables("server_name") & _ "/mypassport/loginout.asp") response.write("歡迎你,你已登錄!") 'will display sign-out link. else 'no ticket, tell them to click sign in rurl = server.urlencode(thisurl) response.write("請(qǐng)登錄") 'will display sign-in link. end if
'未登錄顯示 sign in 的logo否則會(huì)顯示 sign out 的logo. response.write(omgr.logotag2("www.ccboysvr.com"))
when a user requests a secured page from a site using passport, the site redirects the user to a passport server for authentication. once the user has been authenticated, he or she is sent back to the calling site. all communications between the passport site and participating sites go through the user's browser, using encrypted cookies and query strings. (圖片出處www.vbpj.com 作者:jon rauschenberger email:[email protected])