osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-01-2004, 06:53 AM
Lurker
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tov.henderson
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/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-30-2004, 07:38 AM
andyy15's Avatar
Member
 
Join Date: Aug 2004
Posts: 63
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
andyy15
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:59 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax