|
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]
|