Forum Moderators: open

Message Too Old, No Replies

ASP Mac detect

         

kevinj

6:20 pm on Sep 5, 2004 (gmt 0)

10+ Year Member



I'm setting up a Javascript detect system, but need to first detect if the user is on a Mac platform. I can't use Javascript for this. Does anyone have an ASP simple Mac detect?

Thanks,
Kevin

Krapulator

2:50 am on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could do this (have never tried it so can't comment on how reliable it would be):

if instr(request.ServerVariables("HTTP_USER_AGENT"),"Mac") then
' Insert Mac Code Here
end if