how to switch to ssl and back again from same php script?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bobmct

    #1

    how to switch to ssl and back again from same php script?

    Hello all;

    In one of my apps I handle many functions and pages as opposed to separate
    scripts for separate pages. Most of the work is non-SSL and works just
    fine. However, when I am delivering pages with sensitive information the
    form action parameter references the full URL including the https:// to
    force the server to process with SSL. This seems to work just fine
    although there is most likely a better way to do this.

    Now, my question: Once the SSL part is done and the next page is to go back
    to non-SSL, how does one deliver the next page non-SSL because the current
    link is under SSL?

    Also, to add one more poker to the fire... the SSL site is NOT the same
    site as the non-SSL site although they're on the same physical server.

    I would appreciate any ideas on how to accomplish this?

    Thanks,

    Bob
Working...