i set up FoxWeb 4 (at my old client, i had older foxweb, 3.6 i think)
my auth routine is not working the same on the new foxweb trial.
here's my fw_enter.
* FW_Enter.prg
SET EXCLUSIVE OFF
SET DELETE ON
SET CENTURY ON
SET DECIMALS TO 2
SET REPROCESS TO 20 SECONDS
SET MULTILOCKS ON
Auth.Savecookie = 2
Auth.TIMEOUT = 30
Auth.Authtable = "c:\sagepos\data\Portal.dbf"
response.write(DATETIME())
Auth.Authenticate
response.write("I am here.. authenticated...")
on the url, i am simply calling http://localhost/test.fwx
test.fwx:
response.write("I was authenticated" + ttoc(datetime())
portal.dbf table field:
userID C(15) // indexed on upper(userid) tag userid
Password C(15)