iis problem with session

Discussion corner for Developers of Serendipity.
Post Reply
reion
Regular
Posts: 34
Joined: Mon Feb 28, 2005 10:51 am
Location: Linz
Contact:

iis problem with session

Post by reion »

i have a suggestion to make, which would be perfect for such persons, who use iis, but have no access to their session-dir ...

just put in line 4 (serendipity_config.inc.php) this:

Code: Select all

ini_set('session.save_path', dirname(__FILE__) . '/sessions/');
therefore you have to create the sessions dir ...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: iis problem with session

Post by garvinhicking »

I consider this to be an apparent flaw in the server setup, which Serendipity is not responsible to fix. Sessions should work for each of the seperate hosts, and correct paths should be set in the Server configuration.

Adding the code to Serendipity skews the problem and introduces redundant code for 99% of all setups.

If you really need this, I suggest to put it inside .htaccess or serendipity_config_local.inc.php (which will be preserved by Serendipity on upgrades)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply