|
Posted by Rik on 11/27/05 18:18
Oli Filth wrote:
> Rik wrote:
>> Oli Filth wrote:
>
>>>> How can i prevent the ugly PHPSESSID=blabla in the url when the
>>>> browser won't accept cookies?
>>>
>>> You can do is disable URL-based session IDs, by setting
>>> session.use_only_cookies = 1 in your ini file.
>>
>> Unfortunately I cannot change the ini file, but I've found the
>> resolution: output_reset_rewrite_vars();
>
> Alternatively, use ini_set('session.use_only_cookies', '0') at the top
> of your script.
Which would be a far more elegant solution indeed, thanks.
Grtz,
Rik
[Back to original message]
|