Re: [PHP] sessions help

2003-07-17 Thread Justin French
You called session_start() too far down the page... and by that time, you had already outputted something (text, html, or even just blank lines) to the browser. 1. rearrange you code so that session_start() is as close to the top as possible 2. implement output buffering Justin On Friday, J

Re: [PHP] Sessions help Please

2002-10-24 Thread Justin French
on 25/10/02 6:38 AM, Bryan McLemore ([EMAIL PROTECTED]) wrote: > Hi guys I'm a little confused on how sessions work. ok I use > session_start(); to get started I know that but then the manual starts to > confuse me with all of the garbled text about passing the SID. How do I tell > if it was co

RE: [PHP] Sessions help Please

2002-10-24 Thread Peter Houchin
have a look on phpbeginner there is a couple of articles/tutorials that explain this also look at previous posts :) > -Original Message- > From: Bryan McLemore [mailto:Kaelten@;worldnet.att.net] > Sent: Friday, 25 October 2002 6:39 AM > To: PHP - General > Subject: [PHP] Sessions help Plea

RE: [PHP] Sessions help please

2002-10-24 Thread Peter Houchin
Have a look through the articles and or tutorials that can be found on phpbeginner.com and also phpbuilder.com they will give u a good place to start learning about it all :) > -Original Message- > From: Bryan McLemore [mailto:Kaelten@;worldnet.att.net] > Sent: Friday, 25 October 2002 2:19

Re: [PHP] sessions help

2002-06-13 Thread Leston Drake
I just tried adding session_start() to the beginning of both files. When I load Doc 1, I get this warning twice(!): Warning: Cannot send session cache limiter - headers already sent (output started at c:\program files\apache group\apache\htdocs\wan\sessions.php:7) in c:\program files\apache gr

Re: [PHP] sessions help

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002 at 9:46:10 PM, you wrote: > First, I load Doc 1 (to set the session variable). > Then I load Doc 2 to retrieve the variable. When doc 2 runs, I get the > following: > >-

Re: [PHP] Sessions Help

2002-03-03 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Ramesh Nagendra Pillai declared > I am very new to PHP develope Can any one please help > me to use session variables. > I am able to register an variable. > My probelm is how to get the values of that registered > variable in the suc

Re: [PHP] Sessions Help

2002-03-03 Thread Greg Donald
On Sun, 3 Mar 2002, Ramesh Nagendra Pillai wrote: >I am very new to PHP develope Can any one please help >me to use session variables. >I am able to register an variable. >My probelm is how to get the values of that registered >variable in the successive pages? You probably need to pass the sess

RE: [PHP] Sessions help please

2001-03-21 Thread Jeff Armstrong
Apologies for the long post. I use this approach: (simplified) at the top of every page, before any HTML. Pop it into an include right at the top. I have not included all the util function e.g. LogQuietAlert() regards Jeff "); gotoPage("/login"); } } #===

Re: [PHP] Sessions help please

2001-03-21 Thread Hardy Merrill
[EMAIL PROTECTED] [[EMAIL PROTECTED]] wrote: > Hi, > > I am going to use sessions to authenticate and protect my pages, this is what > I have so far... > > User logs in via form, this is checked via a SQL call, if the correct > username and password are entered I run the following: > > sessio