Re: [kwlug disc.] PHP maintaining sessions
Wish it was that easy :). It's commented out and defaulted to 0, so
that's not it. I've run into this problem previously and if I recall it
is some php or apache setting...I just don't recal what it was.
John Van Ostrand wrote:
>Check for a line like the following in /etc/php.ini.
>session.use_only_cookies = 1
>My guess is that you would set this to 0. If you make changes, restart
>(not reload) apache.
>On Thu, 2006-04-13 at 20:59 -0400, Insurance Squared Inc. wrote:
>>I've just migrated to a new server and an upgraded version of php (now
>>on version 5). My server is maintaining sessions if the user has
>>cookies enabled, but if cookies are turned off by the user, the system
>>won't maintain a session. Real ugly ifyou're trying to log in :).
>>Anyway, it could be something ugly with upgrading from php4 to php5, but
>>I'd stake quite a bit that I've just got some dumb configuration
>>variable set wrong.
>>Any ideas on what would cause php to maintain sessions in cookies, but
>>not if cookies are turned off?
>>KWLUG-Disc mailing list
>KWLUG-Disc mailing list
KWLUG-Disc mailing list