Best practice for login screen using database

From: Carlos (cp_at_swa.com)
Date: 02/18/05

  • Next message: Ramjee Tanguturi: "Best practice for login screen using database"
    Date: Fri, 18 Feb 2005 11:06:54 -0500
    
    

    I have an c# as.net app that check if the user exist in a USERS table, that
    part is ok but now I need to pass the user ID no the next page beacuse I
    need to do some databse queries with that user ID, I'm passing the values as
    :
    Context.Items.Add("UserID",TempUserID);
    Context.Items.Add("VerifyString","OkPEV");
    Server.Transfer("time***.aspx", true);

    Now my problem is that in the time***.aspx page ths UserID come fine the
    first time, but if I do refeesh or add a record to my time*** databse I
    loose the UseID.

    So is it any way to keep that variable on memmory while the session is open
    ?

    Thanks


  • Next message: Ramjee Tanguturi: "Best practice for login screen using database"