DB connection

Discussion in 'ASP .Net Web Controls' started by silesius, Oct 14, 2004.

  1. silesius

    silesius Guest

    Hi All,

    I have a simple webform that allows users retrieve some information about
    their account from a database. Users login using FormsAuthentication at the
    login page and are then taken to webform that shows them their account
    information. How do handle the transition from the login page to the account
    page as far as storing and retrieving the user name (which is the primary
    key to the DB) ? Do I store the user name in a new cookie or can I read from
    the cookie that FormsAuthentication creates? Do I use a public variable to
    store the user name on the server? What are my options? TIA for any help
    or links to good sources of information on this.
    Rich
    silesius, Oct 14, 2004
    #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. Mythran
    Replies:
    5
    Views:
    4,922
    Mythran
    Oct 5, 2005
  2. Dave Johnson

    Using Connection Class VS Connection Module

    Dave Johnson, Dec 9, 2005, in forum: ASP .Net
    Replies:
    5
    Views:
    616
    Dave Johnson
    Dec 11, 2005
  3. Linus Nikander
    Replies:
    5
    Views:
    523
  4. Replies:
    3
    Views:
    40,130
    Roedy Green
    Nov 16, 2005
  5. R
    Replies:
    1
    Views:
    558
Loading...

Share This Page