From: Dave on 22 Jul 2010 13:29 If I have a forms authentication web page, how can I tell if a visitor is coming from a Desktop or a smart phone? I'd like to redirect to a different page after logging in if coming from a smart phone. Thanks
From: Jason Keats on 23 Jul 2010 06:23 Dave wrote: > If I have a forms authentication web page, how can I tell if a visitor > is coming from a Desktop or a smart phone? I'd like to redirect to a > different page after logging in if coming from a smart phone. Use JavaScript to detect the client's screen resolution - that is, return screen.width and screen.height.
From: Cubaman on 26 Jul 2010 02:28 On Jul 22, 7:29 pm, Dave <Dave.Burk...(a)Jacobs.com> wrote: > If I have a forms authentication web page, how can I tell if a visitor > is coming from a Desktop or a smart phone? I'd like to redirect to a > different page after logging in if coming from a smart phone. > > Thanks Use Page.Request.UserAgent property to determine the web broowser.
|
Pages: 1 Prev: Maintaining the selected row after sorting an ASP.NET DataGrid Next: Mobile Phone Web Access |