perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <>
Subject Re: Quick udat clarification
Date Wed, 16 Oct 2002 06:09:00 GMT

> The docs say that so long as you don't touch udat, a session won't be
> created.  Then they are more specific and say so long as you don't
> *write* to udat one won't be created.  I just want to make sure that
> reading udat doesn't cause a cookie to be created (or hit the
> database).  I think that's the case, but I just wanted to double
> check.  Otherwise I can do what I do when I want to write to udat
> only if it already exists:
>      $session = tied %$udat;
>      return undef if (!$session);                # I don't think this
>      $sessid = $session->getid();
>      return undef if (!$sessid);                 # Won't create a session

$session->getid() will never create a new session if it not already exists


Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:         Voice:    +49 6133 925131
WWW:      Fax:      +49 6133 925152

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message