PHP Classes

File: session_set_value.php

Recommend this page to a friend!
  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: 20 years ago
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);

?>