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

cflocation https to http

New Here ,
Dec 27, 2007 Dec 27, 2007

Copy link to clipboard

Copied

I want to submit my forms to a secure server (https) and then immediately be returned to an non-secure server (http). I submit the information, peform my actions and then use cflocation to direct them to a new page.

My questions is this: Will any browsers frown at being automatically redirected from https to http? (I don't have a secure server setup right now to test this)

My reasoning for this is to prevent people from submitting twice, also, most things don't need to be secure and I want to make sure only form submissions use the secure transaction.

Thank you.
TOPICS
Advanced techniques

Views

694

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
Guest
Dec 27, 2007 Dec 27, 2007

Copy link to clipboard

Copied

This will work. Be aware, however, that some browsers have optional settings that produce a dialog box when you go from a secure to an unsecure page.

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 ,
Dec 27, 2007 Dec 27, 2007

Copy link to clipboard

Copied

Is there a better way?

Thanks

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
Guest
Dec 27, 2007 Dec 27, 2007

Copy link to clipboard

Copied

LATEST
The code below prevents a form from being submitted twice.

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