[PHP] Using sessions with register globals off

2004-02-04 Thread Randall Perry
I've looked through the docs and past posts but I'm still a bit confused. How do I translate the following into code that can be used with register_globals set off. Assuming there's a preceding page that has created the session 'name' and registered the var 'order' with the 'name' session.

Re: [PHP] Using sessions with register globals off

2004-02-04 Thread Matt Matijevich
snip Assuming there's a preceding page that has created the session 'name' and registered the var 'order' with the 'name' session. session_name('name'); session_register('order'); /snip Try $_SESSION['order'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: