Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 4 of 4

Thread: Session ID

  1. #1

    Default Session ID

    I have two store fronts that share the same database. For some reason one of my store fronts displays the SID after the url while the other one does not. How do I enable SID or get it to work in the storefront that does not display it?

  2. #2


    Try this one, on the cart that has no sessionid, go to the admin panel, then select Configuration, click on Session, check if the "Force Cookie Use" is set to Enabled, Edit it and set it to Disabled, reason for this is that the session gets recorded on a cookie that will remove the session id from the url, however, I was just thinking that if these two stores are using the same database, there might be some conflict if your stores are set to use mysql to store sessions, just not quite sure and haven't test this yet. Please let us know if it will work... thanks

  3. #3


    Thanks for the replay wenzlerpaul. I have messed around with the Force Cookie Use and it is set to disable so I do not think that is the problem. I think it may be a conflict too since I don't think it's in the code. I made the (html_output.php function file which has the tep_href_link function) the same on both store fronts. Any suggestions on how to solve this problem? I have figure how to merge the shopping carts together but not how to keep the user logged in when switching between stores. The oscID= has to be present in all links for the user to be able to switch between store fronts without having to log in multiple times.

  4. #4



    Can you post the url of the site so that we could see, also, I am looking over the possibility of session conflict as you mentioned, I think you may have to issue a session start on each of the header on the store front you have, or better yet, since the session is issued by the application_top.php, why don't you try having both store use a single application_top.php, this way, all parameters of the session can be passed and the tep_href_link will absorb whatever session is passed to and from, I am still not quite sure but this is the closest I could think of.

    Please let us know if it works so it benefits us all.

Similar Threads

  1. session id changes on return
    By ozenalp in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-11-2006, 05:10 AM
  2. session id in URL
    By cominus in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-11-2004, 05:34 PM
  3. Session Help
    By doggifts in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-21-2003, 07:09 PM
  4. SSL Errors, Session Cookie, Session Cache, NOVICE Problems?
    By hanool in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-07-2003, 11:49 AM
  5. session id
    By thorben in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 06-03-2003, 06:35 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts