[thelist] Include JavaScript variables into ASP script

Latika Anand latika.anand at HCT.AC.AE
Sun Jun 2 06:07:01 CDT 2002


Hi Ashok

That was an example I used to know more about "Include JavaScript variables
into ASP script".

Thanks
Latika

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of
ashok at magicalkenya.com
Sent: Saturday, June 01, 2002 5:27 PM
To: thelist at lists.evolt.org
Subject: RE:[thelist] Include JavaScript variables into ASP script


if all you want to do is access userAgent stuff in ASP you can do the
following without using javascript :
1)
from what i can recall iis used to ship with a browser capabilities
component (there used to be other stuff with this called ad rotator
component, content linking component etc.) .
you just needed to instantiate  the object like :
set x = server.createobject("MSC.BrowserType")  , (dont remember exact
syntax.)
once you declared it you could access all the browser related values like
appName, version etc..
2)
Or you could probably pick up and parse out that info from the USER_AGENT
http header....

HTH
ashok

------
ã$hØK
http://www.unganisha.org
Disclaimer : The contents of this mail should not be construed as  a "if
you attack me, I'll blast your arse" veiled threat
------



--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list