Thank you all for replying. Let me see if I understand you correctly.
Use request.ServerVariables("HTTP_USER_AGENT") to determine the kind of
client.
If the client is PDA, then use the @media handheld {body {font-size:100%}}
style
to display a smaller font size.
If the client is PC, then use @media screen {body {font-size:95%}} style for
bigger font size.
Shouldn't the font size for PDA be 95% (for smaller font) and for PC be 100%
(for bigger font)?
I thought the user agent only lets you know whether it's "Mozilla/2.0" or IE
kind of information. It doesn't tell you whether the client is PDA or PC
which I need to know.
Dooza said:
I have done this before, we have mobile 2006 PDAs that run IE, my ASP
applications (for stock takes as the PDAs have barcode scanners) work
very well on this platform.
So PDA can have IE, that's good.
I make the page the right size for the PDAs, but could have used a
different CSS file for it if I wanted to use on normal PCs.
So you do change the font size for the PDA.
The application also logs onto the local domain to pass the user into
the application. That works well too.
That sounds like I need to do something additional to make the ASP
application pass the user into the app? I thought everyone else said I
wouldn't have to change any thing and the app would run on any client (like
PDA) because ASP runs on the server. My app uses IIS with Integrated
authentication. IIS authenticates the user passes the user id to the app. I
want it to continue doing the same thing in PDA. Do I need to change any
thing?
I have one more question regarding wireless network for the PDA. Do I need
to have a port open on the app server or on the wireless network to allow the
app to run on the PDA wirelessly? I've never worked with wireless nor PDA and
have no clue how things work in that environment.