Help with Code?

Results 1 to 2 of 2

Thread: Help with Code?

  1. #1
    Join Date
    Dec 1969

    Default Help with Code?

    Hello,<BR> i have a page that you must login to and after you login to it and it checks the database it forwards you to next page.On that page i would like a welcome heading saying Welcome"whoever logged in" does anyone know how to accomplist this?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Help with Code?

    I did this a while back, I think this is the direction you are looking for. I don&#039;t know if you want to use server variables or the name of the field (username textbox) to check to see if the user can have access..... <BR><BR>if session("mysess") =" " then<BR> DBConnect "SELECT * FROM profile WHERE NTUserID = " & Request.ServerVariables("LOGON_USER") <BR> mysess = Request.ServerVariables("LOGON_USER") <BR> session("mysess") = mysess<BR> DBClose<BR> else

Posting Permissions

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