Can you send a URL without redirecting? Or can you redirect with a URL?

liunx

Guest
I'm stumped, I need to send an http:// command to a unix platform to activate a CGI script. The script on the host can't be modified so I'm stuck with a very simple URL string to activate the script. When I use a link such as <!-- m --><a class="postlink" href="http://ipaddress/cgi-bin/command?operand">http://ipaddress/cgi-bin/command?operand</a><!-- m -->, the command processes like it is supposed to and the unix host peforms the function but I'm left at blank white page. I need to either 1)send the URL invisibly (without actually leaving the linking page or 2) add a command at the end of the URL to redirect the user back to the linking page and bookmark. I have tried using an ASP <%response.redirect "startpage.asp#bookmark"%> with no luck, the ASP code is ignored. Unfortunately, the URL and the redirect must occur in one <a HREF...> command, such as <!-- m --><a class="postlink" href="http://ipaddress/cgi-bin/command?operand/redirect=http://servername/startpage#bookmark">http://ipaddress/cgi-bin/command?operan ... e#bookmark</a><!-- m -->
Any of you gurus have any idea how I can do this?

Any help or suggestions would be greatly appreciated!


[Edited by alupton on 03-20-2001 at 05:58 PM]If the cgi is on the same server as your site you could use the include tag:

<!-- #exec cgi="path" -->

Otherwise I dunno.

JonTry loading the CGI in a small(hidden) frame.
 
Back
Top