You are here: Re: [PHP] Re: why are session only working with cookies? « PHP « IT news, forums, messages
Re: [PHP] Re: why are session only working with cookies?

Posted by Jason Barnett on 10/20/63 11:16

Please keep questions regarding PHP problems on the list instead of in
my inbox. Thanks.


Brian V Bonini wrote:
> On Wed, 2005-05-18 at 12:58, Jason Barnett wrote:
>
>>Brian V Bonini wrote:
>>
>>>On Mon, 2005-05-16 at 22:10, Richard Lynch wrote:
>>>
>>>
>>>>Let him fight with phpIniDir some other day.
>>>
>>>
>>>Something interesting maybe:
>>>http://gfx.gfx-design.com/session_test.php
>>>Hit your browsers refresh button.
>>>
>>>I would think SID is NOT supposed to change with every page refresh..??
>>>
>>
>>Except that the SID is NOT in any POST / GET parameter. So since PHP
>>doesn't recieve a SID on any refresh, it assumes that it is starting a
>>new session each time. This is expected behavior.
>
>
> Thanks for clarifying... Does not really have any bearing on my original
> problem, but... At least I know THAT is nothing to look at further...
>
> -B
>

But it *does* have bearing on your original problem! If you *don't* use
*cookies* then the only way to continue a session is by passing the SID
through *POST* or *GET* parameters! That has been the whole point of
the discussion about trans_sid! Simple as that!

 

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

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