Hi Sveta,

Looking at the code for Apache::ASP::Session (because it doesn't have much documentation...), I see it wants to use a DBM file to save the state. There are a bunch of config variables described in the documentation for Apache::ASP for managing session and state (the Apache::ASP::Session class delegated to an Apache::ASP::State class for storing stuff).

So, the standard web debugging questions apply:
- what's your config?
- are the files/directories writable by the web server?
- did you restart the web server after changing the config?

Hope this helps,
  Dotan


On 10/06/2013 05:21 PM, Svetlana Degtiar wrote:

 

Hi,

 

Sure, something simple.

 

$Session-> {"test"} ="test1";

Print STDERR  Dumper ($Session);

 

Prints : $VAR1 = bless( {}, 'Apache::ASP::Session' );

 

Sveta.

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Gabor Szabo
Sent: Sunday, October 06, 2013 4:47 PM
To: Perl in Israel
Subject: Re: [Israel.pm] Apache::ASP::Session=HASH problem

 

Hi Sveta,

 

nice to see you here!

 

Maybe someone will already have an idea based on this information,

but if not,  could you please send a minimal example that you expect to

work but does not?

 

Gabor

 

On Sun, Oct 6, 2013 at 4:37 PM, Svetlana Degtiar

<[email protected]> wrote:

> Hi,

> 

> 

> 

> I have a small problem with Apache::ASP::Session maybe someone can help?

> 

> 

> 

> Perl 5.16

> 

> Centos 6.2

> 

> Trying to upgrade from perl 5.6…

> 

> 

> 

> After installing all needed modules,

> 

> I try to write key and value into the Session hash object.

> 

> The print shows no value, the hash is empty…

> 

> 

> 

> There is no error message, nothing just an empty hash.

> 

> What can it be? Any ideas?

> 

> 

> 

> Thanks,

> 

> Sveta.

> 

> 

> 

_______________________________________________

Perl mailing list

[email protected]

http://mail.perl.org.il/mailman/listinfo/perl



_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to