You are here: Re: DIssapearing/reappearing Session variables « PHP Programming Language « IT news, forums, messages
Re: DIssapearing/reappearing Session variables

Posted by dangerd on 04/09/07 21:27

On Apr 9, 8:52 pm, iktorn <s...@phpfreelancer.net> wrote:
> dangerd napisał(a):
>
> > Hello,
>
> > Thought I'd try this forum as I got some useful help from here before.
>
> > Duncs
>
> > The code for all the php pages can be seen by changing the .php
> > to .txt, i.e:
>
> Hello, first of allhttp://www.multidome.co.uk/test/authorisation.txt
> is wrong - you should call session_start() before sending any data to
> the browser (at the beggining of your scripts).
> Write it for example one line after error_reporting (null);
> (and remove it from auth() function).
>
> Secondly, don't use session_register, just write anything to $_SESSION
> (if you are using PHP 4.1 or later).
>
> --
> Wiktor Walchttp://phpfreelancer.net

Hello,

I got rid of the session_register() and the problem persists. I think
what is happening is that the $_SESSION[$authdata] (I took your
advise on board) dissapears after five or so refreshes but then
reappears after another refresh. There does not seem to be a pattern
on the number of refreshes it takes for $authdata to dissapear.
Strange...

Duncs

 

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

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