Results 1 to 3 of 3

Thread: storing username

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Dallas
    Posts
    73

    storing username

    Hello,

    Okay, I have a logon page that takes the values entered from the username and password textboxes and compares against database table.

    If all checks out ok and they are in the system. I can I then store the username into a variable that can be reused later within the application.

    I am using form authenication using the web config file. I used to just use session variables in old asp.

    But want to know how to do it the best way.

    Any help would be great.

    Thanks

    Kenny

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367
    There are lots of ways to do it. I would suggest using cookies and just encrypt the data inside the cookie. The encryption will add some security so users cannot just spoof a login.

    Hope this helps,

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Dallas
    Posts
    73

    Thanks

    Thanks,

    I ended up figuring it out.

    Thanks

    Kenny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width