• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFDIV posting form

New Here ,
Feb 25, 2009 Feb 25, 2009

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

450

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 26, 2009 Feb 26, 2009

Copy link to clipboard

Copied

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">

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 26, 2009 Feb 26, 2009

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 27, 2009 Feb 27, 2009

Copy link to clipboard

Copied

LATEST
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/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation