void session_set_cookie_params ( int lifetime [, string path [, string domain [, bool secure]]])
Jason wrote:
I need help. I've got two copies of my application. foobar and foobar_dev
When I go to http://foo.com/foobar/ a session is created and a database connection class is established and placed into this session.
Then if within the same browser (using internet explorer) I go to http://foo.com/foobar_dev/ it will see not create a new database connection b/c it finds the one from http://foo.com/foobar.
foobar and foobar_dev are suppose to point to different databases, but other than that all is identical.
If I open a new internet explorer window via the windows Start menu all is fine. I thought if the url base is different then the session would be different? This is how it is with JSP. Am I miss-understanding something?
Thanks for any assistance with this.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php