Accessing the Globals and Session Data

dlee5400 wrote on Saturday, January 23, 2010:

**Current System**: Windows 2003, XAMPP 1.7.0, OpenEMR 3.1.0, PHP 5.2.8, Perl v5.10.1 built for MSWin32-x86-multi-thread, MYSQL 5.1.30

**Scenario:**
I am expermenting with adding some code to the OpenEMR. I need to access the data in the Global.php and session data. Is there a link, document or something else that would guide me through accessing global variables or session data that is available throughout the system?

Thanks!
dlee5400

bradymiller wrote on Saturday, January 23, 2010:

hey,
No real manual for this stuff, but to call a global, simply use the variable name. Check through the code for many, many examples. Let us know what you plan to do, and we can give some pointers?
Also, lots of developer docs on the wiki: http://www.openmedsoftware.org/wiki/Main_Page#Developer_Manuals
-brady