Changeset 494


Ignore:
Timestamp:
05/01/13 13:02:23 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Update textrecs.cgi to retrieve the session ID from the cookie

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/textrecs.cgi

    r482 r494  
    5151
    5252# Check the session and if we have a zone ID to retrieve.  Call a failure sub if not.
    53 my $sid = ($webvar{sid} ? $webvar{sid} : undef);
     53my $sid = $q->cookie('dnsadmin_session');
    5454my $session = new CGI::Session("driver:File", $sid, {Directory => $dnsdb->{sessiondir}})
    5555        or die CGI::Session->errstr();
Note: See TracChangeset for help on using the changeset viewer.