Login   Register  
PHP Classes
elePHPant
Icontem

File: session_set_value.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Paul.Ren  >  Class Session  >  session_set_value.php  >  Download  
File: session_set_value.php
Role: Example script
Content type: text/plain
Description: set value to session object
Class: Class Session
User session management and browser support query
Author: By
Last change:
Date: 2004-07-29 01:12
Size: 489 bytes
 

Contents

Class file image Download
<?
require "./session.class.php";

session_start();
$Session $HTTP_SESSION_VARS["Session"];
if(!
is_object($Session)){
    
$Session = new ClsSession();
    @
session_register("Session");
    
$HTTP_SESSION_VARS["Session"] = $Session;
}
$Session->login=1;
$Session->set_value("arr_web",array("http://www.yahoo.com","www.phpclasses.org","www.yawill.com"));
$Session->set_value("arr_href",array("http://www.yahoo.com","www.phpclasses.org","www.yawill.com"));

$Session->p($Session);

?>