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

Strange kind of bug that probably has to do with SSL

This is a discussion on Strange kind of bug that probably has to do with SSL within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Here is how it goes down: 1. A user comes to my site and picks a product (at http://www.mycompany.com ) ...

      
  1. #1
    Lurker
    Join Date
    Jun 2003
    Posts
    3
    Rep Power
    0


    Default Strange kind of bug that probably has to do with SSL

    Here is how it goes down:

    1. A user comes to my site and picks a product (at http://www.mycompany.com)
    2. The user tries to write a review for this product but is not logged in
    3. The user successfully logs in on a secure SSL connection (at https://secureserver.com/~mycompany/)
    4. The user then gets redirected back to the main page (on https://secureserver.com/~mycompany/)
    5. The user tries to write the review again but gets redirected to http://www.mycompany.com once they click on a product
    6. Steps 2-5 get repeated

    It seems as though the user creates a proper session on the secure server, but the instant that the user accesses something that does not require the secure server, it goes back to the normal server but there is no session created for that user there. The server then decides that the user should log in again.

    Anyone encounter a problem like this before? Any suggestions as to how to solve this?

    Thanks,

    Ceres

  2. #2
    osCMax Developer

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


    Default

    What version of osC are you using? What version of PHP?

    Once we have that info, we should be able to take a look ...
    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
    Lurker
    Join Date
    Jun 2003
    Posts
    3
    Rep Power
    0


    Default

    Quote Originally Posted by msasek
    What version of osC are you using? What version of PHP?

    Once we have that info, we should be able to take a look ...
    Hi Michael,

    Actually I am getting hosted by AABox right now so i'm sure you would know what version of PHP I am using better than I would .

    As for my osC version, my installation is based off of Loaded 5 (which AFAIK based off of MS1) with some custom modifications.

    Ceres

  4. #4
    osCMax Developer

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


    Default

    Send me helpdesk ticket through AABox. I dont know what account is yours I will take a look at your site for you.

    PHP is 4.3.2
    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

  5. #5
    osCMax Developer

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


    Default

    The resolution to this was to disable the the SID killer in loaded 5. To do so, edit application_top.php, commenting out this code (excerpt from thread here http://www.zenwarehouse.com/xoops2/m...d=355&forum=2:

    In the catalog/includes/application_top.php

    Find this section of code. Pretty self explanatory. approx line 403

    Code:

    //================================================== ==============
    if ( ($HTTP_GET_VARS['currency']) ) {
    tep_session_register('kill_sid');
    $kill_sid=false;
    }
    if (basename($_SERVER['HTTP_REFERER']) == 'allprods.php' ) $kill_sid = true;
    if ( ( !tep_session_is_registered('customer_id') ) && ( $cart->count_contents()==0 ) && (!tep_session_is_registered('kill_sid') ) ) $kill_sid = true;
    if (basename($PHP_SELF) == FILENAME_LOGIN ) $kill_sid = false;
    // To disbale the SID Killer un comment the line below (will make this an admin selection
    //$kill_sid = false;
    //================================================== ==============

    This will disable sid killer.
    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. Kind of a stupid question
    By andyjamison in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 09-03-2006, 05:58 AM
  2. any kind soul help me install plz?
    By onion in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 04-20-2005, 08:26 PM
  3. I want to die !! Strange Behaviour PLZ HELP !! S.O.S. !
    By damnedpig in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 07-26-2004, 04:45 AM
  4. This is very strange? EasyPopulate?
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 02-24-2004, 09:28 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
  •