> > 
> > there is also something called phplib for those still
> > using php3. you can do a google search for phplib because
> > i forget the url. i think this will do the trick.
> 
> wala yan. the easiest way is to use Apache::ASP with mod_perl. yeah its
> not PHP, and yeah, im a Perl junkie.. but session-management is as easy
> as..
> 
> $Session->{YOURVAR} = value;
> 
> everything will be taken care of transparently.
> 
for people who do not have the time here is a piece of the php4 session
management pie.

this will register and session variable called "count"

<? session_register("count");
$HTTP_SESSION_VARS["count"]++;
?>


well this isn't that hard to do. btw, if a setting called global_reference
is turned on the code will be a lot simpler.

<? session_register("count");
$count++;
?>

well, thing is you have to create the session and yada yada yada. i never
really liked phplib that is why when php4 emerged i jumped ship.
 
---------------------
[EMAIL PROTECTED]
 
The probability of someone watching you is proportional to the
stupidity of your action.
 


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to