| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
i'm done, son
Join Date: Jan 2005
Posts: 12,262
|
ini_set for session timeouts
I need to change session timeouts in PHP. A bit of Googling has suggested this method: Code:
Note: site is running on IIS, not Apache. |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Oct 2006
Posts: 2,076
|
If it is a PHP config variable, then it should work. If it is an Apache config variable, then it won't. Just out of interest, why aren't you hosting it on a Linux/Apache server, much less hassle involved. I have never got all of PHP features to work correctly under windows, and many open source projects only test on linux. |
|
|
|
#4 (permalink) | |
|
geek
|
I'd alter your php.ini file to change that. but if you can't thats likely your best be just place it as early in your script as possible. Quote:
|
|
|
![]() |