strange. This is according the documentation and also works fine for me. I have this code, although in a program which i call, at the beginning of every script. The only thing that comes to mind is the TimeOut clause. Default value is 10 minutes which means that after every 10 minutes of non-activity the authentication proces is re-initiated.
Sent by Joe Goldsmith on 07/22/2002 03:24:54 PM:
Cas, this does not quite do the job. When a seller does authenicate and enter the form with your code below, it still asks the user to authenicate again. What I am looking for is a set of code that checks that the user has logged in first and does not allow the user to bypass the login page and fo directly to a private page. Any other ideas?
Sent by Joe Goldsmith on 07/22/2002 03:15:41 PM:
Many thanks. I'll give it a try!!!
Sent by Cas Nuy on 07/22/2002 12:55:19 PM:
use this code :
Auth.AuthTable = "&autdbf"
Auth.Header = "<center><b>You are entering a protected area. Please authenticate yourself.</b></center>"
Auth.SaveCookie = 1
Sent by Joe Goldsmith on 07/20/2002 10:14:07 PM:
I have a private area for clients where they log in to get to the private area. I used the code in the authenication example to allow users to login. To protect the pages beyond the login page I reviewed the example applications provided with FoxWeb but cannot tell what code to use to place at the beginning of each page to force users to login if they haven't already. Can someone point me to the code to reroute uses to the login page if they have not logged in please.