Multiple forms tag in web.config

Last post 07-06-2009 5:19 AM by booler. 2 replies.

Sort Posts:

  • Multiple forms tag in web.config

    07-05-2009, 1:12 AM
    • Member
      17 point Member
    • suri_vinod
    • Member since 02-01-2008, 2:09 PM
    • Posts 50

    Hello,

    I have two folders client and emp in my web application.

    I have two different login pages for both of them. Now what i need is that when client should always be redirected to client login page and employee to employees login page, when ever they log out or in case of any unauthorization or what ever reason.

    I thought of using the multiple forms tag in web.config but don't know how to.


    Vinod

  • Re: Multiple forms tag in web.config

    07-06-2009, 3:06 AM
    Answer
    • All-Star
      21,145 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 9:49 AM
    • Posts 3,641

    Hi,

    U may have Use Autorization in Asp.net..

    http://www.codeproject.com/KB/web-security/FormAuthenticnAuthorizn.aspx

    The above Link have simple Impemation sample

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: Multiple forms tag in web.config

    07-06-2009, 5:19 AM
    Answer
    • Star
      14,332 point Star
    • booler
    • Member since 08-15-2005, 10:22 AM
    • Brighton, England
    • Posts 2,205

    It sounds like what you want is some kind of role-based authentication scheme- you can find an example of this here.

Page 1 of 1 (3 items)