On Wed, 19 Nov 2003, 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 ? >
Basically you just need to override the default session handler and provide your own session functions that will use a MySQL table instead of /tmp. Try this: http://destiney.com/pub/php_db_sessions.tar.gz -- Greg Donald http://destiney.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php