P
Pierre
Hi all,
I am using asp and mdb to password protect pages.
The last step of the process is not working.
After a user sucessfully identitfy himself, the logonpage
fail to redirect to the calling page.
The code below show me that the variable Session("Referrer") is empty
Any clues why?
It is almost working!
Regards, pierre
<% @language="vbscript" %>
<!--#include virtual="/logon/logon.inc"-->
<%
response.write "Referrer="
response.write session("REFERRER")
response.end
' Was this page posted to?
If UCase(Request.ServerVariables("HTTP_METHOD")) = "POST" Then
' If so, verify the username/password that was entered.
If ComparePassword(Request("UID"),Request("PWD")) Then
' If comparison was good, store the user name...
Session("UID") = Request("UID")
' ..and redirect back to the original page.
Response.Redirect Session("REFERRER")
End If
End If
%>
I am using asp and mdb to password protect pages.
The last step of the process is not working.
After a user sucessfully identitfy himself, the logonpage
fail to redirect to the calling page.
The code below show me that the variable Session("Referrer") is empty
Any clues why?
It is almost working!
Regards, pierre
<% @language="vbscript" %>
<!--#include virtual="/logon/logon.inc"-->
<%
response.write "Referrer="
response.write session("REFERRER")
response.end
' Was this page posted to?
If UCase(Request.ServerVariables("HTTP_METHOD")) = "POST" Then
' If so, verify the username/password that was entered.
If ComparePassword(Request("UID"),Request("PWD")) Then
' If comparison was good, store the user name...
Session("UID") = Request("UID")
' ..and redirect back to the original page.
Response.Redirect Session("REFERRER")
End If
End If
%>