Re: Custom Session usind MySQL
| From: | John W. Holmes | Date: | Wed, 19 Nov 2003 00:50:01 +0000 |
| Subject: | Re: Custom Session usind MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170213@lists.php.net to get a copy of this message | ||
Manisha Sathe wrote:
I want the session to be accessed from different websites, so i got the answer in this forum only to make use of customised session with mysql. I searched the web and came to know that 'session.save_handler' of php.ini needs to be as 'user' but instead, on my server it is 'files'. As server is a shared server so i may not be able to change it, what can i do to resolve this ?Are both websites on the same machine? If so, you can just use a common session.save_path and pass the session_id when changing servers. If the websites are on different machines, then you'll need to use a database for sessions and ensure the database is accessible by each site. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com