By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,986 Members | 2,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,986 IT Pros & Developers. It's quick & easy.

Duplicate http gets?

P: n/a
Howdy,

I've assembled a URL for calling a CGI script statically like so:

<A HREF="foo.cgi?ACTION=1&BAR=2">foo</A>

The problem I'm getting is that foo.cgi is getting called twice per
click. Why, and how do I fix it?

-Thanks
-Matt

Sep 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
sh****@cyberspace.org wrote:
I've assembled a URL for calling a CGI script statically like so:

<A HREF="foo.cgi?ACTION=1&BAR=2">foo</A>
You have an undefined entity reference there &BAR (by HTML rules) or invalid
markup (by XHTML rules). Use &amp; instead of &.
The problem I'm getting is that foo.cgi is getting called twice per
click. Why, and how do I fix it?
It's something in your foo.cgi code. Sorry, my crystal ball is too dim now.
Unless there's some confusion in your HTML document as a whole, the problem
is a CGI programming issue and would fit into c.i.w.a.cgi. Don't forget to
tell the URL _and_ to reveal something about the CGI code (perhaps even
making the code accessible on the www if it contains no secrets).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Sep 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.