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) you should move the two
header()-lines down. Just put them right before you want to sent
some output. Or, ofcourse, right behind the session_start().
Think that should do the job.
You just have to keep in mind, that no output should be sent before
you try to send headers and that session_start() should be as close
as possible to the start of your script.
--
* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM HAARLEM
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]