Show
Ignore:
Timestamp:
01/18/06 09:20:02 (3 years ago)
Author:
gerd
Message:

- Code cleanup
- Feature "id-prefix" added
- Access basic information as property

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/patSession2/examples/example_basic_first.php

    r16 r40  
    1212 * @license LGPL 
    1313 **/ 
    14         error_reporting( E_ALL ); 
     14    // load error handler 
     15    include_once './_error.php'; 
    1516 
    16         // include error-manager 
    17         include_once '../../patError/patErrorManager.php'; 
    18         //patErrorManager::setErrorHandling( E_ERROR, 'verbose' ); 
    19          
    2017        // include factory/loader 
    2118        include_once '../patSession.php'; 
     
    3835        // get query string 
    3936        echo '<br/>Recieve session-query-string, this can be used like the PHP-constant "SID"<br />'; 
    40         $queryString    =       $sess->getQueryString()
     37        $queryString    =       $sess->SID
    4138        echo 'Query-string <i>' . $queryString . '</i> from this session.<br />'; 
    4239        echo 'This <a href="' . $_SERVER['PHP_SELF'] . '?' . $queryString . '" title="'. $_SERVER['PHP_SELF'] . '?' . $queryString .'">URL</a> contains the query-string<br />';