Dear developers,
I'm not really great developer IN Perl, 'cause just helping to my friend , my knowledge is in .NET environment.
How can I write and read from session, the thing is I need to store custom variables values , and after redirecting back to be able to read them again.
I'm using :
$::Session->{TEST} = "test";
$::Session->SaveSession();
after redirection trying to read the value
print "example: ".$::Session->{TEST};
but it is always empty, I suggest I have to manage the code in Cart.pm for SaveXml file method, could someone advise me how to do this properly, or there are any other methods?
Thank you very much.
I'm not really great developer IN Perl, 'cause just helping to my friend , my knowledge is in .NET environment.
How can I write and read from session, the thing is I need to store custom variables values , and after redirecting back to be able to read them again.
I'm using :
$::Session->{TEST} = "test";
$::Session->SaveSession();
after redirection trying to read the value
print "example: ".$::Session->{TEST};
but it is always empty, I suggest I have to manage the code in Cart.pm for SaveXml file method, could someone advise me how to do this properly, or there are any other methods?
Thank you very much.
Comment