turns out it wasn't too difficult...
I was using sponge's info.cgi to show my detail info. so in my link.html I had
Code:
<A HREF="<%db_cgi_url%>/info.cgi?ID=<%ID%>">Detailed Info</A>
When the info.cgi ran, it called the detail.html page. To keep things looking the same, I had a call to the link.html page within the detail.html page.
So, I made the following changes:
1. In my link.html: <A HREF="<%db_cgi_url%>/comments4.cgi?function=display_comments&ID=<%ID%>">Detailed Info</A>
2. I copied any variables in the sub site_html_detailed not already in the sub site_html_comments4_display, into the site_html_comments4_display.
So now when the surfer clicks on the Detailed info link, they are not calling the detailed info routine ( or the info.cgi in my case ), but they are actually calling the display comments routine which already had access to the links data.
Took about 5 minutes. I may need to refine things but the hard part is done....
Yours may be different.
Gene "The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."