o*b 发帖数: 42 | 1 It is using Apache web server which has the trick.
When the web server gets the request, from the http
headers, it knows what kind of browser the client
is using, so it retrieves the according html pages. | N**e 发帖数: 158 | 2 It's so easy now by even Server side Javascript or VBscript.
For example, in VBscript:
Set bc = Server.CreateObject("MSWC.BrowserType")
If bc.Browser = "IE" Then
DoBrowserIsIE()
Else
If bc.Browser="NS"
DoBrowserIsNS()
End If
End if |
|