locked
Different Login page for mobile site RRS feed

  • Question

  • User-532059003 posted

    Hi,

    I have a normal ASP.NET project which uses forms authentication. Now, I added a mobile form and would like it to be directed to a login form specifically for a mobile device. How can I set instructions in the web.config to use a different login page for the mobile site?

    Thanks,

    Tom
     

    <hints id="hah_hints"></hints>
    Tuesday, May 22, 2007 7:19 AM

All replies

  • User1634317999 posted

    Hello Tom

    It is not possible to use two different login pages, one for web users and one for mobile users, within an ASP.NET application.

    Alternatives:

    You can set up a separate mobile application with a special login page.

    Another workaround is to use a handheld stylesheet for mobile browsers so that the login page will be adapted to small screens.

    You are also able to use a mobile web form for the login page which is rendered different for web and mobile browsers.

     

    Tuesday, May 22, 2007 10:46 AM