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/84 11:16

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.

Try creating a POST form instead and see what happens when you submit
that form. Refreshing the page without a SID anywhere won't do anything.

 

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

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