in reply to "MojoX::Session" suddenly quit working?!

The most-peculiar thing is that... again, without any code changes that I can see... set-cookie requests are no longer being offered by the site. There are no proxies in the way. My browser is not refusing cookies. (An examination of the HTML response header in Firebug confirms that a set-cookie request is not present.)

The code is this, and I have verified that it is running:

sub _build_session { my $self = shift; my $store; my $schema = $self->_session_schema; # LAZY... $schema->storage->dbh_do ( sub { my ($storage, $dbh) = @_; $store = MojoX::Session::Store::DBI->new( dbh => $dbh, table => 'blah', sid_column => 'sid', expires_column => 'expires', data_column => 'data', ); } ); croak "SPE::Context: BUG, failed to make session" unless defined $store; instance($self->tx, 'Mojo::Transaction'); # Data::Util... # So far so good... create the transport and the session-object. my $transport = MojoX::Session::Transport::Cookie->new ( tx => $self->tx ); my $session = MojoX::Session->new( store => $store, transport => $transport, ip_match => 0, ); $session->load(); if ( defined($session->sid()) ) { if ($session->is_expired()) { $session->flush(); $session->create(); print STDERR "MyMojo::Context: session expired(1) and was re-created\n +"; } else { print STDERR "MyMojo::Context: resuming session '".$session->sid()."'\ +n"; }; } else { print STDERR "MyMojo::Context: new session created\n"; $session->create(); }; if ($session->is_expired()) { print STDERR "MyMojo::Context: session expired(2) and was re-created\n +"; $session->flush; $session->create; } else { print STDERR "MyMojo::Context: session extended\n"; $session->extend_expires; }; return $session; }

The observed symptoms are these: