ASP sessions read by SQL

Results 1 to 2 of 2

Thread: ASP sessions read by SQL

  1. #1
    Join Date
    Dec 1969

    Default ASP sessions read by SQL

    sessions <BR>with SQL <BR><BR>how to write the SQL codes by reading the sessions from an earlier page. <BR><BR>like a person logs in , after the login page is the asp page where checking the sessions it pulls out details of the user. <BR><BR>thanks and plz reply <BR><BR>archer

  2. #2 Guest

    Default Quite Simple..

    Setup your session variable in the logon asp as such<BR><BR>Session("User")=Request.Form(User) <BR><BR>and then in subsequent ASPs create your SQL statements using that session variable<BR><BR>SQL = "Select * from users where user=&#039" & Session("User") & "&#039"<BR><BR><BR>Hope this helps..

Posting Permissions

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