You are here: Re: Conditional session, only start session for certain users. « All PHP « IT news, forums, messages
Re: Conditional session, only start session for certain users.

Posted by Oli Filth on 11/27/05 15:35

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.

--
Oli

 

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

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