Date:  06/09/2011 11:20:16 AM Msg ID:  004291
From:  Ali Koumaiha Thread:  004291
Subject:  To authenticate or not to Authenticate
i have a portal for a customer, where all pages must be protected.

so, i have the Auth.Authenticate in the fw_enter.prg, which is working perfectly.

now, the customer has changed their business practice, and they want one page, (the main page sort of), to be unprotected, with minimal display of content, and then, when the user clicks log in, the content will change obviously.

so, i was able to make the page not to ask for authentication

in my fw_enter:

if lcScript = "the script i want to prvent"
if glDoNotAuthenticate
  Auth.authenticate && rest of the pages are authenticating.
endif

but, now, how do i make it where the login.fwx form authenticate that script?

similar to how you have it on this forum here..