osCmax v2.5 User Manual
Results 1 to 4 of 4

Login and Logoff issues

This is a discussion on Login and Logoff issues within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; I have been playing with OSC and OSCMAX for a bit now. Love it really but now I am lost. ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    18
    Rep Power
    0


    Default Login and Logoff issues

    I have been playing with OSC and OSCMAX for a bit now. Love it really but now I am lost. I have a fresh install of OSCMAX 1.7. I have also installed a templateshopper template. Everything works great except login/off/sessions. All the variables appear fine. I am on a shared cert too. Here is the quick version:

    My domian is http://www.domain.com/catalog
    The Secure domain is at https://secure4.hostcompany.com/~username/catalog

    When I navigate to 'MyAccount" or try to write a review, it goes to the secure site. When I login it sometimes works and shows the account info and shows the logoff button, but most the time it tries to go to the index page and gets a 404 error. It stays at the secure path but appends the nonssl path. So it goes from

    https://secure4.hostcompany.com/~use...alog/login.php

    to https://secure4.hostcompany.com/catalog/index.php

    It sees to drop the ~username but fails to redirect to the nonssl root. Again, now and then it will work. Can't find a reason.

    THEN, when I am logged in if I go to a category the logoff disappears and I will be required to login again!

    AND if I am logged in and use the logoff it says I have logged of but then if I hit continue it shows the logoff button again and I am still in.

    HELP PLEASE!

    Here are my settings:

    define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://secure.hostcompany.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'www. domain.com');
    define('HTTPS_COOKIE_DOMAIN', 'www. domain.com');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '/catalog/');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/~username/catalog/');


    razz

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Login and Logoff issues

    problem 1 = define('HTTPS_SERVER', 'https://secure.hostcompany.com');

    Should be = define('HTTPS_SERVER', 'https://secure.hostcompany.com/~username');
    -----------------------------
    problem 2 = define('HTTPS_COOKIE_DOMAIN', 'www. domain.com');

    Should be = define('HTTPS_COOKIE_DOMAIN', 'secure.hostcompany.com');
    -----------------------------
    problem 3 = define('DIR_WS_HTTPS_CATALOG', '/~username/catalog/');

    Should be = define('DIR_WS_HTTPS_CATALOG', '/catalog/');

    see this page:
    http://oscdox.com/modules.php?op=mod...p;pagename=SSL
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    18
    Rep Power
    0


    Default RE: Login and Logoff issues

    Michael,

    It seems to have worked. Thanks so very much for your time and help.

    razz

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Login and Logoff issues

    Of course it works! You are welcome.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Disabling automatic logoff feature or extending timer
    By kwiznoz in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 09-14-2005, 05:03 PM
  2. Unable to login using default login
    By adam71o in forum osCMax v1.7 Installation
    Replies: 7
    Last Post: 04-08-2005, 07:27 PM
  3. Customer cannot login, redirected back to login page
    By BHenderson in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 02-09-2005, 07:51 PM
  4. Admin Login Problem - my customer can't login, I can
    By pram0310 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 10-29-2004, 10:46 AM
  5. Well crap... admin login not allowing login-no errors
    By tauras911 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-06-2004, 11:12 PM

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
  •