KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Login Properties
PRODUCT: 4D Web 2.0 Pack | VERSION: 11.2 | PLATFORM: Mac & Win
Published On: September 10, 2008

PLEASE NOTE: This Tech Tip applies to 4D Web 2.0 Pack v11 Release 2 (11.2)

Once users are logged into the 4D Ajax Framework, login information becomes accessible via dax_bridge properties. Currently available properties are:

  • dax_bridge.language - two letter abbreviation of language set for the current user as specified by 4D.
  • dax_bridge.sessionId - unique session id.
  • dax_bridge.username - username of the current user.


For example, to see the current user add the following JavaScript code on your page:

alert ('Current user is ' + dax_bridge.username);



For more information see the Bridge 2.0 documentation at:

https://daxipedia.4d.com/index.php/Bridge_2.0