Changeset 552 for branches/stable
- Timestamp:
- 12/12/13 15:51:07 (11 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
-
branches/stable/dns.cgi
r548 r552 99 99 or die CGI::Session->errstr(); 100 100 101 if (!$sid ) {101 if (!$sid || $session->is_expired) { 102 102 $webvar{page} = 'login'; 103 103 } else { … … 218 218 } 219 219 220 my $sesscookie; 220 my $sesscookie = $q->cookie( -name => 'dnsadmin_session', 221 -value => $sid, 222 # -expires => "+".$dnsdb->{timeout}, 223 -secure => 0, 224 ## fixme: need to extract root path for cookie, so as to limit cookie to dnsadmin instance 225 # -path => $url 226 ); 221 227 222 228 # handle can-happen-on-(almost)-any-page actions … … 237 243 $sesscookie = $q->cookie( -name => 'dnsadmin_session', 238 244 -value => $sid, 239 -expires => "+".$dnsdb->{timeout},245 # -expires => "+".$dnsdb->{timeout}, 240 246 -secure => 0, 241 247 ## fixme: need to extract root path for cookie, so as to limit cookie to dnsadmin instance
Note:
See TracChangeset
for help on using the changeset viewer.