Hi
The following code has been working fine for our site as part of the
authentication process right up until the SP2 upgrade. Now on SP2 PCs
the cookie isn't written even though the referer is www.abc.com. Works
fine on other Windows combinations. Can anyone help?
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
If instr(Request.ServerVariables("HTTP_REFERER"), "www.abc.com") > 0
Then
'response.cookies("abcresource") = "ok"
'response.cookies("abcresource").expires = date + 1
Response.Cookies("abcresource")("Passed") = "OK"
Response.Cookies("abcresource").Expires = DateAdd("d",1,Date)
Response.Cookies("abcresource").Path = "/"
Response.Cookies("abcresource").Domain = "www.abc2.com"
End If
%>
<%
If Len(Request.Cookies("abcresource")("Passed")) = 0 Then
Session("abcresourcepage") = Request.ServerVariables("PATH_INFO")
Response.Redirect("/login.asp")
End If
%>
Thanks
W