Re: [PHP-DB] RE: regarding session

2002-09-19 Thread 1LT John W. Holmes
> if(!session_is_registered("UserID")) > { > header("Location: login.php"); > } > > else > { > ... some other stuff, if user is logged in... > } againthis must be put before there is any ouput to the page. Before or even a blank space. This includes any files that are included before t

RE: [PHP-DB] RE: regarding session

2002-09-18 Thread Smita Manohar
eed to do in login.php to get it done?? thanks in advance :-) smita. >From: "John Holmes" <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: "'Smita Manohar'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >Subject: RE: [PHP

RE: [PHP-DB] RE: regarding session

2002-09-18 Thread Smita Manohar
>From: "John Holmes" <[EMAIL PROTECTED]> >Reply-To: <[EMAIL PROTECTED]> >To: "'Smita Manohar'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >Subject: RE: [PHP-DB] RE: regarding session >Date: Wed, 18 Sep 2002 06:58:17 -040

RE: [PHP-DB] RE: regarding session

2002-09-18 Thread John Holmes
IL PROTECTED] > Subject: [PHP-DB] RE: regarding session > > Graeme , Terry : > thnx for reply :) now some picture is clear in my head regarding session > handling. i did the stuff as u suggested. but getting error msg as , > > Warning: Cannot send session cache limiter - headers al

[PHP-DB] RE: regarding session

2002-09-18 Thread Smita Manohar
Graeme , Terry : thnx for reply :) now some picture is clear in my head regarding session handling. i did the stuff as u suggested. but getting error msg as , Warning: Cannot send session cache limiter - headers already sent (output started at c:\phpdev\www\mediawatch\mast_maint.php:9) in c:\phpd