iwel's e-notes about his World
How To:Custom session folder without changing php.ini
Session folder is an important thing in joomla, but some web hosting does not give enough information and priviledges on setting session folder to use by your application.
So,if we want to set session folder not in the specified directory by webhosting, we must override the configuration by using the magic .htaccess file.
Simply create a .htaccess file in everywhere u want to store the configuration and insert the following code below :
php_value session.save_path /home/yourhosting/session
Thats it! the above code will set ur session save to the directory u want.
For added security, dont put ur session directory in the same root path of ur joomla installation.
Hope this helps..
kriwelz
| Print article | This entry was posted by kriwelz on July 4, 2007 at 2:26 pm, and is filed under Joomla. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |