mirror
asked on
Stop NETSCAPE from using cache with LOCATION
People can log onto my website and select a hyperlink which leads them to my F-LVE.HTM web page. The client can submit a new FTP/IRC site and then can see the "refreshed" F-LVE.HTM with the new submission.
Behind the scenes, I have a Perl program which makes use of the HTTP header: LOCATION to get the browser to redirect itself to the newly updated page:
ie: print "Location: http://mywebsite.com/f-lve.htm";
Unfortunately, Netscape (and I'm sure other browsers) uses its cache to recall the F-LVE.HTM file and so the page appears to be NOT updated even though it really is. How do I get browsers to "actually" call my fresh F-LVE.HTM?
I have used the not-so-great OPEN command to open the file and just display its contents on screen, but I the F-LVE.HTM page has hyperlinks with respect to the main drawer: http://mywebsite.com/ not http://mywebsite.com/cgi-bin/ (which it seems to be stuck within due to the cgi program call). Also I hate the Netscape URL location display to show http://mywebsite.com/cgi-bin/ftp.cgi and it's really showing F-LVE.HTM.
I really hope I haven't confused you all. I'm just a little hyper right now :>
Hope you can help!
Behind the scenes, I have a Perl program which makes use of the HTTP header: LOCATION to get the browser to redirect itself to the newly updated page:
ie: print "Location: http://mywebsite.com/f-lve.htm";
Unfortunately, Netscape (and I'm sure other browsers) uses its cache to recall the F-LVE.HTM file and so the page appears to be NOT updated even though it really is. How do I get browsers to "actually" call my fresh F-LVE.HTM?
I have used the not-so-great OPEN command to open the file and just display its contents on screen, but I the F-LVE.HTM page has hyperlinks with respect to the main drawer: http://mywebsite.com/ not http://mywebsite.com/cgi-bin/ (which it seems to be stuck within due to the cgi program call). Also I hate the Netscape URL location display to show http://mywebsite.com/cgi-bin/ftp.cgi and it's really showing F-LVE.HTM.
I really hope I haven't confused you all. I'm just a little hyper right now :>
Hope you can help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Do you know anything about CGI-Perl...