KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Web database methods run as a new process
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: April 21, 2006
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

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.