Log In    |    Knowledge Base    |    4D Home
Tech Tip: Installing the 4D Ajax Framework into an existing database
PRODUCT: 4D Web 2.0 Pack | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: February 21, 2007

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

If you followed the instructions for installing the 4D Ajax Framework into an existing database you may get the following error page when you try to test the Web server:

     <errorCode fieldid="0"
InvalidSessionId" message="Your
session has ended. Please login again to continue." tableid="0">InvalidSessionId</errorCode>

After a fresh installation of the 4D Ajax Framework this usually happens because either the "Default HTML Root" or "Default Home Page" has been changed in the 4D Database Preferences. If you were following the installation instructions provided you probably correctly set the "Default HTML Root" to "dax" but you must also ensure that the "Default Home Page" is set to "index.html".

Note that in any new database created in 4D 2004 the default home page will already be set to "index.html".

Of course this does not apply if you have renamed the HTML root folder and/or the default home page file.