Hi all,
i am having trouble with developing my AFP webpages.
i have a counter initalised as public in my application.prg file and it updates by 1 when someone attemps a login.
seems simple, but when i update the variable in a method in the application.prg file and reloads the login screen, the login screen doesn't seem to acknowledge that an update occurred and remains on 0. how do i force the page to view the new value of the variable?
the flow between the pages is like:
login.afp <-
| |
| /
logcheck.afp ------> worklayer.afp
login to the first page. goes to logcheck which executes the function in the application.prg file that updates the attempt by 1. if unsuccessful the login page is called again through response.call(). the login page checks the value of the attempts and shows it. it always remains on 0 and never increments.
what am i doing wrong?
Jordan
Jordan Pastourel
Development Manager