You are here: Re: Session Id In URL « All PHP « IT news, forums, messages
Re: Session Id In URL

Posted by J.O. Aho on 12/18/06 15:38

MS wrote:
>> You can choose between using cookies or url-encoded, in your php.ini set
>>
>> session.use_cookies = 1
>>
>> or use the ini_set() on each script and set the session.use_cookies to 1.
>
> I added the line
> ini_set(session.use_cookies,"1");
> at the top of each script (in my main include file)
> But the
>
> ?PHPSESSID= etc..
> was still in the URL

Yes, of course, you still have to either remove all occurrences of the SID
constant in the URL links, or redefine the SID constant to be an empty string.


--

//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация