line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::Session::State::GUID; |
2
|
2
|
|
|
2
|
|
64647
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
76
|
|
3
|
2
|
|
|
2
|
|
12
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
74
|
|
4
|
2
|
|
|
2
|
|
10
|
use base qw/HTTP::Session::State::MobileAttributeID/; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
1529
|
|
5
|
2
|
|
|
2
|
|
2569
|
use HTML::StickyQuery::DoCoMoGUID; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
use HTTP::Session::State::Mixin::ResponseFilter qw/response_filter/; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub html_filter { |
9
|
|
|
|
|
|
|
my ($self, $session_id, $html) = @_; |
10
|
|
|
|
|
|
|
Carp::croak "missing session_id" unless $session_id; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
my $sticky = HTML::StickyQuery::DoCoMoGUID->new; |
13
|
|
|
|
|
|
|
return $sticky->sticky( |
14
|
|
|
|
|
|
|
scalarref => \$html, |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub redirect_filter { |
19
|
|
|
|
|
|
|
my ( $self, $session_id, $path ) = @_; |
20
|
|
|
|
|
|
|
Carp::croak "missing session_id" unless $session_id; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my $uri = URI->new($path); |
23
|
|
|
|
|
|
|
$uri->query_form( $uri->query_form, guid => 'ON' ); |
24
|
|
|
|
|
|
|
return $uri->as_string; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
__END__ |