How to load different aspx web page based on browser?
-
I would like to load different web page depending on browser. for example I have internetexp.aspx and chrome.aspx. if user browser is chrome it should load chorme.aspx page if other then chrome browser it should load internetexp.aspx. how can i achieve this?
-
I would like to load different web page depending on browser. for example I have internetexp.aspx and chrome.aspx. if user browser is chrome it should load chorme.aspx page if other then chrome browser it should load internetexp.aspx. how can i achieve this?
Request.Browser[^] which is of type HttpBrowserCapabilities[^] has a property called Browser[^] which you can use to detect the browser that is using the application. From there, you should be able to do a redirect to the specific page depending on what is in the value of that particular property.
Signature construction in progress. Sorry for the inconvenience.
Damn you have the perfect signature - CBadger