Welcome to WebmasterWorld Guest from 184.108.40.206
Or I can use SetEnvIf combined with Host-Ip matching to set it.
Independently I can also use php_value
php_value session.use_trans_sid 0
to turn of transitional sessions (i.e. appending session_ids to the URL if cookies are disabled).
My Question is: Can it be combined? Can I set the value for session_use_trans_sid depending on an environment variable or User_Agent_string/IP?
session.use_trans_sid "1" PHP_INI_SYSTEM¦PHP_INI_PERDIR
PHP_INI_PERDIR 2 Entry can be set in php.ini, .htaccess or httpd.conf
PHP_INI_SYSTEM 4 Entry can be set in php.ini or httpd.conf
The value for session_use_trans_sid cannot be set in a script. It has to be done in .htaccess
I have tried to use an environment-variable with php_value, but that does not work. I thought there might be a workaround with rewriting and/or <files> etc.. But I am not firm enough with apache to do it myself. But maybe it is not even possible at all...