In what way is the new setup working differently? What do you see when you try to access test.fwx? If you are getting to test.fwx without the need to log in, then it's possible that fw_enter.prg is in the wrong location, or that you are using the VFP run-time DLL but forgot to manually compile your scripts.
FoxWeb Support Team
support@foxweb.com email |
Sent by Ali Koumaiha on 09/05/2009 08:34:25 AM:
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)