> I made some more adjustments after this was sent and I can't seem to
> reproduce the error.  Based on your suggestion above on setting the
> dbgSession debug param I did see the sessions were being
> executed/created.  My problem was that I was doing a "bad thing" and
> accessing "$HTML::Embperl::udat{key}" inside of my packages, I had
> changed this to "$Embperl::udat{key}" after installing Embperl 2.0b7 and
>   used perl-status (Apache::Status) to examine the variables for Embperl
> to confirm the varibable as still available. Even though it was in the
> Hahes list it doesn't seem to be accessible in that manner.  So now I am
> going to pass the session hash to each sub/method because that is the
> "correct" way since it makes the code less likely to break as this case
> has proven.
>
> I still would like to know if the ability to access the udat hash is
> still available or if it is infact "protected".
>

Accessing $Embperl::udat doesn't work anymore, because since b6 you can have
multiple session setups, not only one as before, so there was a need for me
the change things. At the Moment you are able to access the current %udat
values with

$Embperl::req -> app -> user_hash

which will return a reference to %udat. But be aware that names may sligthly
change until I have documented all the new methods. I plan to document all
these things in one of the next releases and then of course you can rely on
it.

>
> While composing I went to look at the perl-status again to verify my
> Embperl::udat entry.  Below is that happened when I queried Embperl from
> the list.
>

The problem here is, that you are accessing some variables which are tied to
the C part, but only valid during an Embperl request.

Gerald

P.S. Let's keep the discussion on the list. Others may have the same
problem....

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

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to