Results 1 to 2 of 2

Session Duplication Errors

This is a discussion on Session Duplication Errors within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I'm not quite sure what I did wrong, but I added if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } to ...

      
  1. #1
    Lurker
    Join Date
    Nov 2004
    Posts
    1
    Rep Power
    0


    Default Session Duplication Errors

    I'm not quite sure what I did wrong, but I added

    if (!tep_session_is_registered('customer_id')) {
    $navigation->set_snapshot();
    tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
    }

    to the beginning of my code so that they would be forced to login before viewing any page on the site, but for some reason, when multiple people are logged in, the sessions get confussed, and someone else's session will suddenly suddenly switch over to another user, and any orders or comments they make will be attributed to the wrong person.

    Does that make sense?

    http://vol.cobrazone.com/help/

  2. #2
    Member andyy15's Avatar
    Join Date
    Aug 2004
    Posts
    63
    Rep Power
    0


    Default

    This is a very very wierd problem. Did you backup your site before this problem? What I suggest is to either use the backup if you have one or backtrack and redo what you did. I don't know of any simple way to solve this problem
    Check out my homepage.. It\'s my jewelry website.

Similar Threads

  1. session id in URL
    By cominus in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-11-2004, 05:34 PM
  2. Session ID
    By andyy15 in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 08-16-2004, 12:40 AM
  3. Session Help
    By doggifts in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-21-2003, 08: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, 12:49 PM
  5. session id
    By thorben in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 06-03-2003, 07:35 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
  •