Hi Experts!
This is driving me crazy. I have created data access pages in MS Access and a logon page in asp.Data Access pages contains XML, VBS and Java Script.Login page is working fine and once user is enter user name and password it directs it to main page of the application.However there is a file titled securitycheck.asp that needs to included in all DAP's. Here is the code of this file:
<%
If session("loginID") = "" then
Response.redirect "default.asp?strMsg=You have been logged out for security reasons"
end if
%>
If i wont include this file , users can directly enter the DAP url and thus skip login page. Could someone tell me how to add this file in a DAP code or what is equivalent of this code in VBS. Will appreciate your help.
Sam
This is driving me crazy. I have created data access pages in MS Access and a logon page in asp.Data Access pages contains XML, VBS and Java Script.Login page is working fine and once user is enter user name and password it directs it to main page of the application.However there is a file titled securitycheck.asp that needs to included in all DAP's. Here is the code of this file:
<%
If session("loginID") = "" then
Response.redirect "default.asp?strMsg=You have been logged out for security reasons"
end if
%>
If i wont include this file , users can directly enter the DAP url and thus skip login page. Could someone tell me how to add this file in a DAP code or what is equivalent of this code in VBS. Will appreciate your help.
Sam