Thanks for all your help! Yes, it has to be on the first line. Then when I tried it Frontpage..at least Frontpage 2000, AUTOMATICALLY moves it into the body tag if you try to put it as the first line. so i had to edit in notepad.
Thanks for your answers! Grant On 3/20/06, Jeromie Clark <[EMAIL PROTECTED]> wrote: > > Hey Grant - > > This would probably put you on the right path: > > <?php > session_start(); > var_dump($_SESSION); > ?> > > From a development perspective, the session service is transparent for > most applications. > You can write and read from a user's session without knowing any of the > particulars (like their session ID). > > example: > > <?php > session_start(); > > // Assign a value to the global $_SESSION array > $_SESSION['name'] = 'Anybody"; > > // Echo the output to the screen > echo $_SESSION['name']; > > ?> > > In most circumstances, $_SESSION['name'] will be set on each page has > session_start() at the top. > > Here's some more information: > http://www.php.net/manual/en/ref.session.php > http://www.zend.com/zend/tut/session.php > > Hope that helps, > Jeromie Clark > > >* > > > > > > > > >Hi, > > > >I'm trying to use a simple session variable, but I've never used it > before. > >When I put the following code, I get an error message. > > > ><?php > > > >session_start(); > > > >echo "Your session identification number is".session_id(); > > > >?> > >* > >** > >*Warning*: session_start(): Cannot send session cache limiter - headers > >already sent (output started > > > >grant > > > > > > > > > > > The php_mysql group is dedicated to learn more about the PHP/MySQL web > database possibilities through group learning. > > > ------------------------------ > YAHOO! GROUPS LINKS > > > - Visit your group "php_mysql<http://groups.yahoo.com/group/php_mysql>" > on the web. > > - To unsubscribe from this group, send an email to: > [EMAIL PROTECTED]<[EMAIL PROTECTED]> > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------ > [Non-text portions of this message have been removed] The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
