summaryrefslogtreecommitdiff
path: root/htetc/global.asa
diff options
context:
space:
mode:
authorivan <ivan>2001-07-30 08:02:51 +0000
committerivan <ivan>2001-07-30 08:02:51 +0000
commit31157731e271ad7c672ec09e756a73304f646b62 (patch)
treeea4c668fbfca16da4ac694957eec28e8f95ffd75 /htetc/global.asa
parent46b8b49cb4691ef3d3dbe4042550d9ce9f49a156 (diff)
template stuffs
Diffstat (limited to 'htetc/global.asa')
-rw-r--r--htetc/global.asa20
1 files changed, 20 insertions, 0 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
new file mode 100644
index 000000000..beb6d02f0
--- /dev/null
+++ b/htetc/global.asa
@@ -0,0 +1,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;
+}