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

<*> 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/
 


Reply via email to