Re: [PHP] Re: prob with session start

2001-08-14 Thread ReDucTor
header() must be before anything is writen on the page - Original Message - From: Balaji Ankem To: [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 8:10 PM Subject: Fw: [PHP] Re: prob with session start Hi,Renze i tried u'r last solution first.But it is acting as

Fw: [PHP] Re: prob with session start

2001-08-14 Thread Balaji Ankem
eady sent in c:\www\authentication.php on line 40   Thanks and regards -Balaji - Original Message - From: Renze Munnik To: Balaji Ankem Cc: [EMAIL PROTECTED] Sent: Tuesday, August 14, 2001 2:26 PM Subject: Re: [PHP] Re: prob with session start I think I

Re: [PHP] Re: prob with session start

2001-08-14 Thread Renze Munnik
I think I know what it is. The construction I mentioned to avoid the reloading used three pages to login: the login-page, the validation page and then some page that produces output to the user. What you do, is include that output page in the validation page (authentication.php). You shouldn't do

Re: [PHP] Re: prob with session start

2001-08-13 Thread Balaji Ankem
;)  { include('ordinary.php');     }  }     else  {   file://User does not exist or not authenticated.   echo 'Authorization Required.';   file://header( 'WWW-Authenticate: Basic realm="Private"' );   file://header( 'HTTP/1.0 401 Unauthorized' );   e

[PHP] Re: prob with session start

2001-08-13 Thread Renze Munnik
On Mon, Aug 13, 2001 at 04:33:49PM +0530, Balaji Ankem wrote: > Hi! friend, > I want to start session if authentication is succesfull means if he is a valid >user. > Then what i have to do Renze?? > > Thanks in advance. > > With warm regards > -Balaji I think (haven't got time to test it