Hi Group:I am working in a Web that checks for User ID to grant access view. We have one sql Table that contain the following Columns.FirstName-----LastName -----UserID------Application_Name----- John Smith jsmith Oracle Juliet Robertson jroberson Oracle
etc..etc...I have the following code that lblUser.Text = (Request.ServerVariables("AUTH_USER")) Session("strUser") = lblUser.Text [code] If Session("strUser") <> "to the USERID from the Table" Then Response.Redirect("Security.aspx")----Access Denied Exit Sub End IfI need to create stored Procedure in SQL that checks for matching USERID = Session("strUser")Thank You for your help.