Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2010
    Posts
    35
    Plugin Contributions
    0

    Default HTTPS and security warnings

    When a user signs into the store it switches to HTTPS and then does not switch back to HTTP. This causes a security error to pop up since some of my sideboxes have external content.

    Is there any way to enable HTTPS for log in and checkout only and automatically redirect to HTTP after performing those actions?

    Also alternatively telling those sideboxes to disable if in HTTPS mode just in case the customer doesn't get redirected back to HTTP.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HTTPS and security warnings

    Can't see your issue as no site provided...

    Auto switching is the default action ...
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: HTTPS and security warnings

    Thanks for the reply. So what you are saying is that what I am asking for it should already be doing? Hrmmmm...

    Here is my site

  4. #4
    Join Date
    Jun 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: HTTPS and security warnings

    Saw 3 referrals to my site from here. Thanks to those for looking!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,387
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: HTTPS and security warnings

    Quote Originally Posted by MaDd0g View Post
    Also alternatively telling those sideboxes to disable if in HTTPS mode just in case the customer doesn't get redirected back to HTTP.
    With respect, that should not be your "alternative" action. It should be your *primary* action.
    You'll have to edit your sideboxes to display content correctly based on whether the page is in SSL mode or not.
    The variable $request_type will be 'SSL' or 'NONSSL', respectively, and you can use that to take action accordingly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HTTPS and security warnings

    Quote Originally Posted by MaDd0g
    So what you are saying is that what I am asking for it should already be doing?
    Yes that is correct - - The default code allows for auto switching

    A couple of things
    While selecting login switches to https - - there is NO LOCK presented

    This probably means that the certificate is not properly installed....

    Try switching to the classic template to see if that changes anything and to rule out a template issue
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jun 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: HTTPS and security warnings

    Thanks. This is my first Zen Cart so this info is much needed. I will work on the code for disabling the sideboxes in question when in https mode.

    You say that the default code "allows" for auto switching. Should I have to do anything to tell it to switch back to http after logon or checkout? Or any other page that may be https?
    Posted via Mobile Device

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: HTTPS and security warnings

    Quote Originally Posted by MaDd0g
    Should I have to do anything to tell it to switch back to http after logon or checkout?
    No nothing should be required if the code has not been altered
    Again try switching to the classic template
    Also clear up why you are not seeing a "LOCK" once in https mode

    The only setting if your server settings are correct is the following
    Code:
      // Use secure webserver for checkout procedure?
      define('ENABLE_SSL', 'true');
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: HTTPS and security warnings

    Quote Originally Posted by MaDd0g View Post
    Should I have to do anything to tell it to switch back to http after logon or checkout?
    That's automatic too.

  10. #10
    Join Date
    Jun 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: HTTPS and security warnings

    Well... Thanks to your help I was able to get all of the security warnings to go away while in HTTPS!

    The only outstanding issue is that when I log in as a registered user it does not automatically switch back to HTTP. I have tried the classic template and it acts the same way

    Any more ideas???

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Chrome and Firefox Security warnings
    By gotlogos in forum General Questions
    Replies: 7
    Last Post: 9 Jan 2011, 11:12 PM
  2. security warnings about images (SSL links)
    By Muzz in forum General Questions
    Replies: 6
    Last Post: 26 Aug 2010, 06:09 AM
  3. Host Stream Error & Security Warnings
    By elfino45 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 18 Nov 2007, 05:41 PM
  4. IE 7 security warnings, from static pages to cart
    By editor6nbrorg in forum General Questions
    Replies: 4
    Last Post: 15 Feb 2007, 05:15 PM
  5. Security Warnings from browsers
    By pfabrick in forum General Questions
    Replies: 9
    Last Post: 28 Jan 2007, 07:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR