Implement sessions #2

Closed
khrt opened this Issue Jan 10, 2013 · 1 comment

1 participant

@khrt
Owner

No description provided.

@khrt khrt was assigned Jan 10, 2013
@khrt
Owner

Maybe initialize cookie inside Kompot::Session.
For example:

my $s = Kompot::Session->new(value => $controller->session);
my $c = $s->get_cookie;
...
sub get_cookie {
  my $self = shift;
  ...
  my $c = Kompot::Cookie->new(%params);
  return $c;
}
@khrt khrt added a commit that referenced this issue Jan 23, 2013
@khrt Redesigning cookies & sessions #1, #2 6d80bf5
@khrt khrt added a commit that referenced this issue Jan 23, 2013
@khrt fixed #1, #2 83b90ee
@khrt khrt closed this Jan 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment