項目需要做一個WAP客戶消費平臺。查了些東西。 給自己總結。 有些也是在原有系統中學習到。
1,ASP中獲取手機信息。
Request.ServerVariable("HTTP_USER_AGENT") '獲取UA 信息
Request.ServerVariable("HTTP_X_UP_CALLING_LINE_ID") '手機號碼
Request.ServerVariable("HTTP_USER_AGENT")
%>
2,判斷瀏覽器類型。
Dim bc
Set bc = Server.CreateObject("MSWC.BrowserType")
if instr((bc.Browser),"IE") then 'estimate BrowserType
................
end if
%>