summaryrefslogtreecommitdiff
path: root/htetc/global.asa
blob: beb6d02f03691cbd920c50d722428912dbe38d3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use vars qw( $cgi $p );
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use FS::UID qw(cgisuidsetup);
use FS::Record qw(qsearch qsearchs fields);
use FS::part_svc;
use FS::CGI qw(header menubar popurl table);

sub Script_OnStart {
  $cgi = new CGI;
  &cgisuidsetup($cgi);
  $p = popurl(2);
  #print $cgi->header( '-expires' => 'now' );
}

sub Script_OnFlush {
  my $ref = $Response->{BinaryRef};
  $$ref = $cgi->header( '-expires' => 'now' ) .$$ref;
}