Log In    |    Knowledge Base    |    4D Home
Tech Tip: Simple Integration of the 4D Ajax Framework and Active4D
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: February 27, 2007

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

In order to integrate the 4D Ajax Framework into a 4D database that uses Active4D you must add some extra code in the database method 'On Web Connection'. Specifically you will need to add a check for '/DAX/@' requests, for example:

` =======================
` On Web Connection

If ($1="/DAX/@")
` Do Any Active4D specific tasks here
End if
` =======================

This will allow for both 4D Ajax Framework and Active4D requests to be processed correctly.