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. 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. Brian O. Bush
    Replies:
    8
    Views:
    982
    Wendy S
    Jan 13, 2004
  2. DavidADEW
    Replies:
    2
    Views:
    2,720
    DavidADEW
    Sep 1, 2006
  3. Sasquatch
    Replies:
    2
    Views:
    1,323
    Sasquatch
    Oct 3, 2006
  4. manu
    Replies:
    1
    Views:
    794
    Evans
    Jul 20, 2008
  5. Bruce
    Replies:
    5
    Views:
    192
    Joseph MCAD
    Apr 11, 2005
Loading...

Share This Page