Re: Looping through session variables
- From: Sherm Pendley <sherm.pendley@xxxxxxxxx>
- Date: Wed, 22 Dec 2010 23:12:24 -0500
Jürgen Exner <jurgenex@xxxxxxxxxxx> writes:
However, I am pretty sure that this module provides methods or functions
to retrieve those values. You should use them instead of rolling your
own code because it is a very bad idea to take advantage of
implementation interna of a module. Those can change at any time and
then you are screwed.
Agree 100%, but it turns out that PHP::Session only provides a simple
one-at-a-time get() method:
sub get {
my($self, $key) = @_;
return $self->{_data}->{$key};
}
Sometimes, an ugly hack is the only option... :-(
sherm--
--
Sherm Pendley
<http://camelbones.sourceforge.net>
Cocoa Developer
.
- References:
- Looping through session variables
- From: jwcarlton
- Re: Looping through session variables
- From: Jürgen Exner
- Looping through session variables
- Prev by Date: Re: Looping through session variables
- Next by Date: FAQ 8.16 How can I sleep() or alarm() for under a second?
- Previous by thread: Re: Looping through session variables
- Next by thread: Re: Looping through session variables
- Index(es):