Link to home
Start Free TrialLog in
Avatar of blind
blind

asked on

Is it possible...

Is it possible to submit information to a CGI script and recieve the output without actually going to the CGI url?

Say I went to:
www.mysite.com\index.htm

And submitted a form to:
www.mysite.com\my.cgi

But I didn't want it to say:
www.mysite.com\my.cgi

In the Address bar. I wanted it to say:
www.mysite.com\index.htm


Sorry if this text seems really confusing...it's the best I could do, though. :)
ASKER CERTIFIED SOLUTION
Avatar of shivers
shivers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ercis
ercis

You can make browser go to URL returned by CGI script, who need to return only:
Location: index.htm\n\n
But, this is other story, how index.htm will be able to display new info ...
you can do THE old trick to hide those ugly urls for your visitors by using frames, where the first frame is your cgi-formstuff and the other frame is a 1-pixel high empty frame. if you do this at your toplevel index.html the addressbar will only show

http://www.mydomain.com/