LoginView issues again

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jeff

    LoginView issues again

    Hi

    ASP.NET 2.0

    I'm about to start developing a website using asp.net 2.0. The webpages will
    display different info determined if the user is authenticated or not. So if
    the the user isn't authenticated it will for example display a login window,
    and if authenticated display something else.

    So I'm wondering if this can be done using LoginView when not using the
    Membership provided by asp.net 2.0 ?
    If possible then how, you got any links to articles about this issue?

    Best Regards!


  • Cowboy \(Gregory A. Beamer\)

    #2
    Re: LoginView issues again

    No, it is not possible. But you do not have to use the default method
    Microsoft has of using the Membership. You can, if you have a completely
    different schema/method create your own provider. Then you can use the
    LoginView.

    Here is a good set of articles:


    For an example, I would look at this:


    There is also a sample membership provider linked off this article. David
    Hayden has also written an article, but his is extremely simple, so it could
    be insulting to read something so simple if you already have a good grasp of
    ..NET (great for beginners to the provider model, however). There are also
    articles on 15 seconds, devx, etc.

    The custom membership model is one I use often on sites, as the
    ASPNET_Profile table is a nasty way of storing extra information to adorn a
    user object.

    --
    Gregory A. Beamer
    MVP, MCP: +I, SE, SD, DBA

    Subscribe to my blog


    or just read it:


    *************** *************** **************
    | Think outside the box! |
    *************** *************** **************
    "Jeff" <it_consultant1 @hotmail.com.NO SPAMwrote in message
    news:OlxjZ4iHJH A.4296@TK2MSFTN GP02.phx.gbl...
    Hi
    >
    ASP.NET 2.0
    >
    I'm about to start developing a website using asp.net 2.0. The webpages
    will display different info determined if the user is authenticated or
    not. So if the the user isn't authenticated it will for example display a
    login window, and if authenticated display something else.
    >
    So I'm wondering if this can be done using LoginView when not using the
    Membership provided by asp.net 2.0 ?
    If possible then how, you got any links to articles about this issue?
    >
    Best Regards!
    >

    Comment

    Working...