BTW, the preferred way to access session variables is via the session{"employee_name"} syntax.

Please forgive my ignorance, but could I ask why?

1. Simpler to read and write than 'get session'
2. Collections are really associative arrays indexed by a key. The above syntax extends the existing array indexing syntax.
3. Allows you to use a syntax like session{"employees"}{1} to access array element 1 within the array "employees"


That's what comes to me off the top of my head.

Regards,

   Aparajita
   Victory-Heart Productions
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to