in login_user_test.asp below lines:
'Logged in cookie test
If strLoggedInUserCode = "" Then blnLoggedInOK = False
add
Response.Cookies("userasp")=strLoggedInUserName
in log_off_user add after lines
'Clear the forum cookie on the users system so the user is no longer logged in
clearCookie()
Call saveSessionItem("UID", "")
Call saveSessionItem("AID", "")
add following line:
Response.Cookies("userasp")=""
in includes/setup_options_inc.asp make it as below
'Set the Cookie Path
'If you have issues with cookies for your users you may want to change the path set for your cookies
Dim strCookiePath
'strCookiePath = Left(Request.ServerVariables("HTTP_URL"), InstrRev(Request.ServerVariables("HTTP_URL"), "/"))
strCookiePath = "/" 'Uncomment this line if your forum has issues with cookies
From an asp.net aspx you can call the cookie as below
Request.Cookies("userasp").value
working example at http://www.wsoc.co.uk
the top menu bar is an aspx .net page which has read in the cookie created by the forum.
hope that helps.
I used the new cookie for the gallery on the site which i wrote in aspx.
I have only tested this on v9
Edited by richgsi - 18 September 2007 at 9:03pm