Reply to Re: sessions and redirecting in opera

Your name:

Reply:


Posted by Rik on 08/13/07 10:39

On Mon, 13 Aug 2007 12:33:20 +0200, amygdala <noreply@noreply.com> wrote=
:
> Rik wrote:
>>> I've set up little example (without the echo part in the redirect
>>> method) which you should be able to access temporarily through:
>>>
>>> http://amygdala.kicks-ass.net/profile/
>>>
>>> (Please let me know if you are not able to access it.)
>>
>> HTTP/1.x 302 Moved Temporarily
>> ...
>> Set-Cookie: PHPSESSID=3Djhiktdcd4efk720iqahhhquokhm24ill; path=3D/
>> Set-Cookie: PHPSESSID=3Dupgdihd7gbiqnen492advkiu0c0piv4v; path=3D/
>> Location: http://127.0.0.1/user/login/
>> ...
>>
>> I haven't set up your site on my local box, so no, it's not working
>> :).
>
> Errrr, sorry about that Rik, forgot to change
>
> define( 'ROOT_PATH', 'http://' . $_SERVER['SERVER_NAME'] );
>
> to
>
> define( 'ROOT_PATH', 'http://amygdala.kicks-ass.net' );

Ah, and everything works like a charm :P (allthough the double set-cooki=
e =

PHPSESSID should be taken care of).

So, possibly a server/domain issue somewhere when developing locally, =

works OK on the net though.
-- =

Rik Wasmus

[Back to original 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

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