Tech Tip: Web database methods run as a new process
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: April 21, 2006
When triggered by an incoming web call, the 'On Web Authentication' and 'On Web Connection' database methods will run as a new process. To preserve the information from these methods beyond the method execution, do not use process variables as they are erased when the method execution is done. For example, you might want to keep a session id, a username, and a web call timestamp after the web database method call. To do that, use interprocess variables since their values will persist even after the method has finished executing.