how do i find .where from the request is coming

wxdqz

New Member
hi,i am sunil,working as a Software programmer. Well i do have a questionfor u. Consider this scenario.Step 1:I have a asp page which queries the database using ADO 2.5 to retrieve thedata.Example:-rs.open "select statement"Step 2:Suppose the request came from a pc then i wanna apply one style sheet(XSL)or else if the request came from a mobile phone i should apply another stylesheet.That is done like this:If Pc thenresponse.write PC.xslelse if mobile phone thenresponse.write mobile.xslend ifStep 3:Then i save my recordset to response object.Example:-rs.save response,adpersistxmlThis is fine .But in Step2 how do i find out where the request came fromso that i can apply different style sheets to my xml content.
 
Back
Top