I've added some simple code to html_home:
if ($in{'goto'}) {
print "Location: $db_script_link_url&ID=$in{'goto'}&format=long&view_records=1&ww=1\n\n";
exit;
}
This mod allows you to link to something like this:
http://www.foo.com/cgi-bin/dbman.cgi?goto=1025
and after you are logged in, it takes you straight to record number 1025.
The mod works great, but the print "Location: code seems to be slow, about a 1-2 sec delay.
I've tried to replace it with:
&get_record($in{'goto'});
and other combinations, but it returns back to the html_home routine and ends up printing double footers and headers.
Any ideas?
if ($in{'goto'}) {
print "Location: $db_script_link_url&ID=$in{'goto'}&format=long&view_records=1&ww=1\n\n";
exit;
}
This mod allows you to link to something like this:
http://www.foo.com/cgi-bin/dbman.cgi?goto=1025
and after you are logged in, it takes you straight to record number 1025.
The mod works great, but the print "Location: code seems to be slow, about a 1-2 sec delay.
I've tried to replace it with:
&get_record($in{'goto'});
and other combinations, but it returns back to the html_home routine and ends up printing double footers and headers.
Any ideas?