[WebDNA] Fails from http:// but works from file:///
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 104042
interpreted = N
texte = This is strange. I have WebDNA running on my development computer and I'm trying to submit a form to the local MLS so I can store the results in a webdna database. Right now I'm just in testing mode and I'm submitting the form manually.When I open the HTML file in Firefox as "file:///path/to/file.html" then click the submit button it works fine: results are returned from the MLS server as expected.But when I open the file as "http://localhost/path/to/file.html" then click the submit button the MLS server seems to detects that something is 'wrong' with the post, and instead of returning the search results it redirects to the MLS home page.What might the MLS server be detecting when the form is submitted via http:// -- and how can I prevent the server from detecting it -- so that I can eventually use WebDNA to submit the form variables by tcpconnect?Is this possibly a situation in which I need to forge (or hide) the 'referer' in order to get the server to respond properly? Or is something else going on here?Sincerely,Kenneth Grome
Associated Messages, from the most recent to the oldest:
This is strange. I have WebDNA running on my development computer and I'm trying to submit a form to the local MLS so I can store the results in a webdna database. Right now I'm just in testing mode and I'm submitting the form manually.When I open the HTML file in Firefox as "file:///path/to/file.html" then click the submit button it works fine: results are returned from the MLS server as expected.But when I open the file as "http://localhost/path/to/file.html" then click the submit button the MLS server seems to detects that something is 'wrong' with the post, and instead of returning the search results it redirects to the MLS home page.What might the MLS server be detecting when the form is submitted via http:// -- and how can I prevent the server from detecting it -- so that I can eventually use WebDNA to submit the form variables by tcpconnect?Is this possibly a situation in which I need to forge (or hide) the 'referer' in order to get the server to respond properly? Or is something else going on here?Sincerely,Kenneth Grome
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
I've had it! (1999)
One more try (1997)
Aaron Kant do contextses (2000)
Dates (1996)
Kudos (1998)
still having shipCost.db Problem (1997)
Three new problems, maybe a fourth (1997)
Need relative path explanation (1997)
[WebDNA] grep again (2010)
Very serious bug with the [protect] tag (2003)
RequiredFields template (1997)
WebCatalog2 Feature Feedback (1996)
2.0Beta Command Ref (can't find this instruction) (1997)
Cant open pages generated by Webcat (2004)
WebDNA Book? (2003)
[Replace] (2000)
MySQL and Numbers (2005)
search form problem.. (1997)
Help with update to 2.11 (1998)
How to remove comments with grep? (2003)