more session related bug fixes
This commit is contained in:
parent
a6dd6c89e0
commit
297b9f8487
6 changed files with 10 additions and 6 deletions
|
|
@ -133,7 +133,7 @@ sub gateway {
|
|||
my $url = $self->session->config->get("gateway").'/'.$pageUrl;
|
||||
$url =~ s/\/+/\//g;
|
||||
if ($self->session->setting->get("preventProxyCache") == 1) {
|
||||
$url = $self->append($url,"noCache=".randint(0,1000).';'$self->session->datetime->time());
|
||||
$url = $self->append($url,"noCache=".randint(0,1000).';'.$self->session->datetime->time());
|
||||
}
|
||||
if ($pairs) {
|
||||
$url = $self->append($url,$pairs);
|
||||
|
|
@ -282,7 +282,7 @@ sub page {
|
|||
}
|
||||
$url .= $self->gateway($self->session->asset ? $self->session->asset->get("url") : $self->getRequestedUrl);
|
||||
if ($self->session->setting->get("preventProxyCache") == 1 && !$skipPreventProxyCache) {
|
||||
$url = $self->append($url,"noCache=".randint(0,1000).';'$self->session->datetime->time());
|
||||
$url = $self->append($url,"noCache=".randint(0,1000).';'.$self->session->datetime->time());
|
||||
}
|
||||
if ($pairs) {
|
||||
$url = $self->append($url,$pairs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue