simple login form

Discussion in 'ASP .Net Security' started by nabil m, Sep 4, 2004.

  1. nabil m

    nabil m Guest

    hi i am using vs.net with csharp -
    i am trying to create a simple log in form
    user id
    password

    on submit i run a param query to check if the userid and password exist if
    yes i
    would like to store to the contactusername in a session and rediret the user
    to another page -

    q: how do i check if the param select query returned a record and how do i
    access the userid from my sql query to store it in a session("sessUserId")

    thx
     
    nabil m, Sep 4, 2004
    #1
    1. Advertisements

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. Hermit Dave

    Forms Login Page Not Login Out

    Hermit Dave, Jan 12, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    771
    Hermit Dave
    Jan 13, 2004
  2. Li Zhang
    Replies:
    4
    Views:
    6,395
    softip
    Feb 27, 2009
  3. Brian O. Bush
    Replies:
    8
    Views:
    1,101
    Wendy S
    Jan 13, 2004
  4. DavidADEW
    Replies:
    2
    Views:
    2,850
    DavidADEW
    Sep 1, 2006
  5. Sasquatch
    Replies:
    2
    Views:
    1,578
    Sasquatch
    Oct 3, 2006
  6. manu
    Replies:
    1
    Views:
    970
    Evans
    Jul 20, 2008
  7. Bruce
    Replies:
    5
    Views:
    393
    Joseph MCAD
    Apr 11, 2005
  8. rob c
    Replies:
    4
    Views:
    562
    McKirahan
    Dec 30, 2005
Loading...