perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smith, Matthew" <>
Subject Using Sessions with the XMLHTTPRequest object
Date Tue, 15 Jun 2004 19:45:48 GMT
I having a problem using a session object in an epl file that is requested via the Javascript
XMLHTTPRequest object (see
for details on that).

For whatever I can't access the correct session cookie, so I pass the session id of the session
object I wish to deal with and do the following:

$r = shift;
$session = tied(%udat);

Thereafter %udat refers to the correct session object.
I then make changes to %udat.
If I use Data::Dumper on %udat I can see that my changes have been made.

However if I later access the same session object my changes are lost.  Whether reloading
this page or accessing the %udat from a different page.

Can anyone offer any explanation?

Is there some special method to call to write %udat to disk?  I thought the tied hash has
supposed to take care of all that...

Your help is greatly appreciated.
Using Html::Embperl 1.3.6 with mod_perl (perl 5.8)


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

View raw message