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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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/ |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 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. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| session id in URL | cominus | osCMax v1.7 Discussion | 3 | 11-11-2004 05:34 PM |
| Session ID | andyy15 | osCommerce 2.2 Modification Help | 3 | 08-16-2004 12:40 AM |
| Session Help | doggifts | osCommerce 2.2 Modification Help | 1 | 10-21-2003 08:09 PM |
| SSL Errors, Session Cookie, Session Cache, NOVICE Problems? | hanool | osCommerce 2.2 Modification Help | 1 | 09-07-2003 12:49 PM |
| session id | thorben | osCommerce 2.2 Installation Help | 2 | 06-03-2003 07:35 AM |