note 88613 deleted from ref.session by danbrown

From: Date: Sat, 31 Jan 2009 18:48:00 +0000
Subject: note 88613 deleted from ref.session by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150045@lists.php.net to get a copy of this message
Note Submitter: post at kleureneconomie dot nl ---- @LaurentT Your solution appears rather complicated. Because sessions use cookies, it appears easier to use the cookie property that it can be only used on a specific path (subdir) of a domain. The function 'session_set_cookie_params' can do this for you and appears to work in my case. Code then looks like: 3 session_set_cookie_params(3600,'/en/'); 4 session_start();

« previous php.notes (#150045) next »