Re: session cookie paths
| From: | Ian Firla | Date: | Wed, 25 Aug 2004 12:10:02 +0000 |
| Subject: | Re: session cookie paths | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194668@lists.php.net to get a copy of this message | ||
Answered my own question.
Creating an .htaccess file containing:
php_value session.name "uniqueSESSIONname"
takes care of the problem.
On Wed, 2004-08-25 at 12:30, Ian Firla wrote:
> Dear All,
>
> I've been trying to figure out a solution for this problem and have
> googled the subject but cannot come up with anything meaningful.
>
> I have several applications running on my server which use php and
> sessions.
>
> In each case, logging out from an application destroys the session.
>
> The trouble is that all the applications (four of them) share the same
> id: PHPSESSID and path: /
>
> My first hunch is to try to use .htaccess in each application's root
> directory to override these php.ini variables. Am I on the right track?
>
> Regards,
>
> Ian