[dev] A bit of help for my application

Chuck Hagenbuch chuck at horde.org
Thu Nov 6 21:15:49 PST 2003


Quoting Ron Cooper <rcooper at jamesconeyisland.com>:

> is session variables passed in horde via start_session() and
> $_SESSION['variable']

Yes.

> I'm attempting to use code like this:
>
> if(isset($_SESSION['txtdate'])) {
> $txtdate=$_SESSION['txtdate'];
> 	}elseif (isset($txtdate)){
> $_SESSION['txtdate']=$txtdate;
> }
> but it does not appear to be working.

If you're using PHP 4.2 or later, you can *always* rely on just $_SESSION.

> I'm having trouble trying to determine what Horde has classes for and what
> I should be doing as you'd normally do in php4 for session variables.

Session stuff is all normal.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I am not that interested in green food." - Average Joe


More information about the dev mailing list