Jump to content

How to set Session variable in .htaccess.


Alpeshinfo

Recommended Posts

Hello

 

i have problem in set session variables in .htaccess file.

 

i have tried some codes which are belows but i did not effect in php info file.

 

<IfModule mod_php5.c>

  php_value session.gc_maxlifetime 86400

  php_value session.cache_expire 86400

</IfModule>

 

please let me know if any one have solutions fot this

 

Link to comment
https://forums.phpfreaks.com/topic/231284-how-to-set-session-variable-in-htaccess/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.