Skip to main content
Participant
February 26, 2009
Question

CFDIV posting form

  • February 26, 2009
  • 2 replies
  • 478 views
I am attempting to post a form from inside of a cfdiv and when I do I get a "Bad Request(Invalid Verb) error. The only solution I have been able to come up with is to post to a cfm. Inside the cfm I invoke my function and then change the source of the cfdiv.

This is my first attempt at using the AJAX inside of CF8.

Another issue is it seems like my pages are being cached and I don't have a solution either.

Any helpwill be really appreciated.

Brian
This topic has been closed for replies.

2 replies

Inspiring
February 27, 2009
re "Bad Request" error: please post your code, both cfc function and
ajax request code.

re caching of ajax requests: again, while it is highly possible that IE
aggressively caches them, seeing a sample code that is a victim of IE's
caching will be very helpful in determining if it is just IE at fault
here or not...


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Inspiring
February 26, 2009
This prevents caching.

<CFHEADER NAME="Cache-Control" VALUE="no-cache, no-store, must-revalidate">
<CFHEADER NAME="Pragma" VALUE="no-cache">
<CFHEADER NAME="Expires" VALUE="-1">
bdowdAuthor
Participant
February 27, 2009
Thanks for your help.

The issue I am having appears to be IE caching the AJAX calls. I am not sure how to stop this. I have tried a couple of work arounds but none of them seems to work.