![]() |
hichem 2/17/2009 |
PHPR uses smarty templating engine and allows caching each page with different settings. |
![]() |
hichem 2/17/2009 |
Found this function |
N
|
nix386 author 2/18/2009 |
Found this function function setExpires($expires) { header( 'Expires: '.gmdate('D, d M Y H:i:s', time()+$expires).'GMT'); } setExpires(10);
|
![]() |
hichem 2/18/2009 |
Found this function function setExpires($expires) { header( 'Expires: '.gmdate('D, d M Y H:i:s', time()+$expires).'GMT'); } setExpires(10);
|
![]() |
Sergey Kornilov admin 2/19/2009 |
If you still need to increase session timeout put php.ini to your home directory or use ini_set() function to change this parameter. Contact your web hosting support team for more info specific to their web server. |
![]() |
hichem 2/19/2009 |
Sample syntax: ini_set("session.gc_maxlifetime", 60*60); To the best of my knowledge header('Expires ... applies to browser cache and has nothing to do with session timeout.
|