I need to create a login page in ASP.NET that creates a session that will work for FoxWeb. I've already got code which creates a FW_SessionID cookie and adds an entry into the _fwsession table. However, FoxWeb still doesn't recognize it. It appears that when setting Auth.SaveCookie = 2, it stores a hashed version of the password in the Vars memo field (I duplicated the fields it normally stores in here except for the secsessionid entry).
Since I'm not currently doing this, my assumption is that this is the reason the authentication check is failing. I did see that there is an exported function "hash" in the fwdll.dll file, but I don't know the signature of it (so I couldn't try it out). How can I generate this hash?