Hello,
I have a one question for php.
One of my client websites is made in php along CMS. Whenever the site (home page) is first loaded, it shows pmsession in the inner page URLs. After that it is disappeared.
Example of inner page URL:
I want to disappear it (i.e. http://www.xya.com/keyword-keyword) when the site (i.e. http://www.xya.com) is first loaded. I have found the below mentioned solutions for this problem.
- In your config.php file, put the following code:
<?php
ini_set(‘session.use_trans_sid’, 0);
ini_set(‘session.use_only_cookies’, 1);
?>
- In your .htaccess file, use the code below:
php_flag session.use_trans_sid off
php_flag session.use_only_cookies on
Is it appropriate to use one of them?
If you have other suggestion, please suggest here.