How would it work in seting a cookie to a domain instead of website or forum.
I.E.
Forum = www.freeworldsleague.com/forum/<anything>
Website = www.freeworldsleague.com/<anything>
Domain = <anything>.freeworldsleague.com/<anything>
I know this is wicked simple, but figured if someone knows the answer off the tips of their mind I might as well hear it from you
(the following added after the question! WOOOT!)
Well... now I have the answer for all of us!
Only Two Lines of code need to be entered. This is a hard code solution, but it works like a charm! And the only bad side effect is that your users may need to delete their cookie before resuming proper use of the forums (or it may work just fine).
inc_fun_common.asp ~ line 185
sub doCookies(fSavePassWord)
if strSetCookieToForum = 1 then
Response.Cookies(strUniqueID & "User").Path = strCookieURL
else
Response.Cookies(strUniqueID & "User").Path = "/"
end if
Response.Cookies(strUniqueID & "User").Domain = ".freeworldsleague.com"
Response.Cookies(strUniqueID & "User")("Name") = strDBNTFUserName
Response.Cookies(strUniqueID & "User")("Pword") = strEncodedPassword
'Response.Cookies(strUniqueID & "User")("Cookies") = Request.Form("Cookies")
if fSavePassWord = "true" then
Response.Cookies(strUniqueID & "User").Expires = dateAdd("d", intCookieDuration, strForumTimeAdjust)
end if
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTFUserName)
end sub
sub ClearCookies()
if strSetCookieToForum = 1 then
Response.Cookies(strUniqueID & "User").Path = strCookieURL
else
Response.Cookies(strUniqueID & "User").Path = "/"
end if
Response.Cookies(strUniqueID & "User").Domain = ".freeworldsleague.com"
Response.Cookies(strUniqueID & "User") = ""
Session(strCookieURL & "Approval") = ""
Session.Abandon
'Response.Cookies(strUniqueID & "User").Expires = dateadd("d", -2, strForumTimeAdjust)
end sub