Log In    |    Knowledge Base    |    4D Home
Tech Tip: 4D Ajax Framework and Active4D's web_decoy folder
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.1 | PLATFORM: Mac & Win
Published On: June 13, 2007

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack version 1.0 and 1.1

Active4D uses the concept of a 'web_decoy' folder. This folder is a trick to route all web requests to On Web Connection. If a document is requested from 4D's web server that does not exist, On Web Connection is called. Since Active4D wants all dynamic content to go through On Web Connection, the web root is set to an empty folder.

When integrating the 4D Ajax Framework (4DAF) and Active4D the 4DAF files should be placed within the 'web_decoy' folder. These files will not be served by Active4D so they should be placed at this location.

Please see included screenshot for an idea of how this is structurally laid out:

For the latest information the 4D Ajax Framework please see the Daxipedia: