Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: When should one use SSL? Customers having trouble with logins.

  1. #1
    Senior Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    77


    Default When should one use SSL? Customers having trouble with logins.

    So, I have a problem with some customers being unable to log in repeatedly - yet I can log into their accounts if I do it via admin, and everything looks fine (shopping cart contains items awaiting resolution).

    What I do see though is that SSL is sometimes on and other times off (https: vs http so was wondering if issues with SSL might be causing problems for custom logins. I do not have any credit card operations on the site - use PayPal exclusively for payments so was thinking of turning SSL off to see if that helped with customer login to open existing cart problems.

    I see some past discussions that SSL is advised to protect against bad login behaviour, but is that the only reason? the Wiki talks about setting it up, but not WHY one should set it up.

    Thanks!

  2. #2
    osCMax Developer


    When should one use SSL? Customers having trouble with logins.


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    1 out of 1 members found this post helpful.

    Default Re: When should one use SSL? Customers having trouble with logins.

    Why we should be using encryption is beyond the scope of the wiki, but it is to keep prying eyes out of private information. It is so easy to steal personal information over any internet/wifi connection with a packet sniffer. Any 12 year old with a smartphone can watch everything you do. And it is not just the black-hat criminal types you have to be concerned with. What about your competitors who want to steal customers from you? See what your customers are buying, how many customers you have, etc... What about marketing corporations? They are always looking for ways to exploit consumers. Best to always transmit customer information in encrypted form.

    If you take any customer information at all, you should be using ssl if for no other reason that customers demand it. Even google uses ssl to encrypt searches now. Privacy is a big issue and plain text exchange of personal information is no longer acceptable.

    If you don't use ssl to protect your customer logins and their account pages, you are not meeting basic privacy standards.

  3. #3
    Senior Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    77


    Default Re: When should one use SSL? Customers having trouble with logins.

    Fair enough - I too value my customer privacy - but several customers were having trouble with logging in with SSL active, and when I turned it off one (haven't heard back from anyone else) had no further trouble. What else might be the cause of login issues related to SSL?

    Thanks!

  4. #4
    Senior Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    77


    Default Re: When should one use SSL? Customers having trouble with logins.

    OK, turned SSL back on, and asked friendly customer to see what happened. here is his response:

    The problem appears to be back now that SSL is turned back on. It just says I'm logged in as guest after I try to login. Do you know if your SSL certificate is alright?

    So, any idea what might be happening? The SSL certificate is from a large (Pair.com) provider so I can't see it having a problem.

    My website is Flippers Parts Store : and perhaps someone with experience could make a small login and put a few things in a shopping cart, logout and then log back in and see what they think is happening.

    Might this be related to a previous post about a bug? With the workaround being:

    A quick workaround is to set "Force Cookies" to true in the admin "Sessions" section. Of course if you are using shared ssl, you cannot force cookies. But if you are using a private SSL certificate, turn this on and the problem is cleared up.

    It appears that there is a problem with either the session storing in mysql or files (not cookies) where it is not getting updated until you load another non-ssl page.


    Thanks!
    Last edited by JRR; 03-18-2013 at 09:52 PM.

  5. #5
    osCMax Developer


    When should one use SSL? Customers having trouble with logins.


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    1 out of 1 members found this post helpful.

    Default Re: When should one use SSL? Customers having trouble with logins.

    This could mean that the cookie domain is incorrect for ssl logins or some other problem with sessions.

    Is it a shared ssl cert or private to the domain?

    Try turning on "Force Cookies" in the sessions settings in the admin panel.

  6. #6
    Senior Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    77


    Default Re: When should one use SSL? Customers having trouble with logins.

    Thanks Michael, I have already asked for clarification on the SSL certificate and set the "Force Cookies" in admin. And asked customer (friendly) to try again (with "Forced Cookies") and let me know if that worked better. If it does I'll add a note to the wiki...

  7. #7
    Senior Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    77


    Default Re: When should one use SSL? Customers having trouble with logins.

    Forced cookies seemed to fix the problem. Now exactly WHY that fixes the problem would be interesting to know. There is not much info on the sessions setup as far as I can see, nor much on how these interact with the system.

    For example, what does "Session Directory" do? The 'explanation' is "If sessions are file based store them in this directory." How does one know if the sessions are file based or not? And what exactly does File Based mean with respect to sessions?

    I bought the OscMax e-book you guys sell, but it is impossible to search for anything with the interface on my Mac, so I have given up on it.

  8. #8
    Senior Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    501
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    77


    Default Re: When should one use SSL? Customers having trouble with logins.

    Fortunately the internet exists and I could find out about Session Directory myself which I should have done first.

    Essentially you normally set the session directory in catalog/includes/configure.php

    define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

    And as a result you do not then set Session Directory in Administrator/Sessions (under oscMax admin/configuration) to anything, although leaving it at /tmp is harmless as configure.php overrides it. It appears that many sites do not have the ability to use temp directories and also having the site store the info in mysql database is safer from a privacy standpoint as well.

    Still not sure what or why Force Cookie Use makes the difference, but when I find out I shall post it here - just in case someone else is curious. And update the Wiki too, the best place for this info of course.

  9. #9
    Active Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Jul 2011
    Posts
    229
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    DanDan     $ 20.00
    Rep Power
    21


    Default Re: When should one use SSL? Customers having trouble with logins.

    I am having the same problem with an SSL, when it is turned off, the site runs fine. When it is on, someone creating an account is returned to the login page. If I turn it off, a customer is able to create an account. If I turn it on again and try to login, I am returned to the lndex page but now on the secure server (a shared server) but the login box is still asking for the user/pass. If I then click on a category, I am shown the products but I am now on the non-secure server. Adding to the cart and trying to checkout I am asked to sign in again. When I do I am returned to the login page. Thinking this is a config problem, I have tried configuring the config file many different ways. It is now configured like:

    define('HTTP_SERVER', 'http://www.domainname.com');
    define('HTTPS_SERVER', 'https://secure.servername.com/~houserol');
    define('ENABLE_SSL', true);
    define('HTTP_COOKIE_DOMAIN', 'www.domainname.com');
    define('HTTPS_COOKIE_DOMAIN', 'secure.servername.com/~houserol');
    define('HTTP_COOKIE_PATH', '/');
    define('HTTPS_COOKIE_PATH', '/');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_WS_IMAGES', 'images/');

    This is the way I usually configure other sites and they always run fine.

    What am I doing wrong?

    Thanks,

    Dan

  10. #10
    Active Member
    When should one use SSL? Customers having trouble with logins.


    Join Date
    Jul 2011
    Posts
    229
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    DanDan     $ 20.00
    Rep Power
    21


    Default Re: When should one use SSL? Customers having trouble with logins.

    I uploaded a fresh script under a different domain name to see what happened. The only change I made was to configure the config file. have the same problem. I'm thinking that the server is not configured for OSCMax or that there is a problem with the SSL. What server config would cause this problem? Is something turned off that should be on in the PHP config on the server?

    Dan
    Last edited by DanDan; 07-31-2013 at 04:20 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Having trouble with javascript
    By kasper in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 01-04-2011, 01:14 AM
  2. Customers seeing other customers carts/details
    By michelle in forum osCommerce 2.2 Discussion
    Replies: 2
    Last Post: 01-29-2010, 07:29 AM
  3. Losing Sessions?/Repeat Logins? Check the server times match
    By nemail in forum osCMax v1.7 Installation
    Replies: 0
    Last Post: 11-29-2005, 03:10 AM
  4. Changing footer requests to show site logins
    By Nazdar in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 03-09-2004, 11:21 PM
  5. Having trouble with install.php
    By av8er in forum osCommerce 2.2 Installation Help
    Replies: 5
    Last Post: 02-11-2003, 07:27 AM

Bookmarks

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
  •