How to invoke security in a webcontrol

Discussion in 'ASP .Net Web Controls' started by John Kraft, Sep 2, 2003.

  1. John Kraft

    John Kraft Guest

    I have created a web app that uses forms security on certain
    directories. What I would like to do is to put a login control on all
    site pages so that if the user wants to login immediately, he can.
    Then, a list of all directories he has access to would show up in the
    navigation pane.

    My forms security works perfectly, but when they login from the control
    I cannot get the cookie to be accepted. It acts as if the cookie is
    accepted, using either response.cookies.add or
    formsauthentication.setcookie, but it does not exist when the page posts
    back.

    John Kraft
     
    John Kraft, Sep 2, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    2
    Views:
    756
  2. Luis Ramírez.

    Can a webcontrol (webcontrol.dll) have a configuration file?

    Luis Ramírez., Jul 5, 2004, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    221
    Luis Ramírez
    Jul 6, 2004
  3. Kasabaarde Sumta

    WebControl inside of WebControl and attaching events

    Kasabaarde Sumta, Dec 13, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    215
    Kasabaarde Sumta
    Dec 13, 2004
  4. Fabricio

    Custom webcontrol that references another webcontrol

    Fabricio, Sep 21, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    205
    Fabricio
    Sep 21, 2005
  5. Peter Morris [Air Software Ltd]

    WebControl with non-WebControl property

    Peter Morris [Air Software Ltd], Dec 7, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    150
    Peter Morris [Air Software Ltd]
    Dec 7, 2004
Loading...

Share This Page