Change Session::ID to no longer need a session. Instead, you pass it a seed for salting the hash generation.

This commit is contained in:
Colin Kuskie 2010-11-19 08:53:22 -08:00
parent 68638c2ae8
commit d02472cfa6
2 changed files with 8 additions and 9 deletions

View file

@ -492,7 +492,7 @@ Returns a reference to the WebGUI::Session::Id object.
sub id {
my $self = shift;
unless ($self->{_id}) {
$self->{_id} = WebGUI::Session::Id->new($self);
$self->{_id} = WebGUI::Session::Id->new($self->config->getFilename);
}
return $self->{_id};
}