|
Posted by Rik on 08/16/07 16:30
On Thu, 16 Aug 2007 17:48:40 +0200, <isynclere@hotmail.com> wrote:
> On 16 Aug, 16:42, Rik <luiheidsgoe...@hotmail.com> wrote:
>> On Thu, 16 Aug 2007 17:35:02 +0200, <isyncl...@hotmail.com> wrote:
>> > relevant code for login page
>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>> Don't see no session_start() anywhere in this relevant code, don't se=
e =
>> how
>> the redirect is done/handled, etc...
>>
>> > if(mysql_num_rows($result)=3D=3D0)
>> > {
>> > }
>> > else
>> > {
>>
>> <snip $_SESSION array filled>
>>
>> > }
>> > }
>> > echo "<p>redirecting to homepage.</p>";
>>
>> > relevant code for homepage
>> > <!--show login if session not set, if set show user email-->
>> > <?php
>>
>> session_start()?
>>
>> > if (isset($_SESSION['login']))
> sorry guys, yes every page has session_start() at the top.
> redirect done with meta refresh.
As said earlier, an HTTP redirect is infinitely better & more reliable.
> as i said it works fine in safari but not in other browsers.
>
> i will post complete code if it helps?
Well, complete code could be overkill, but saves time asking for stuff y=
ou =
left out :P Also, if this is publically online somewhere, an URL to =
examine headers to & from the site could come in handy.
(PS: don't quote signatures)
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|