jasonv Posted September 22, 2002 Share Posted September 22, 2002 I've got my production server at, say, /catalog. When I want to integrate new code, I copy /catalog to /catalog2 and change the appropriate configure.php (in /catalog/include and /catalog/admin/include). I've got mozilla and IE running on one machine. I try to hit each of the directories, respectively, with only one browser. Obviously, admin sees multiple session visitors from the same IP. I'm getting cross-URL generation though. It's often the category links, though I've seen the homepage URL get confused too. I'm looking at a default.php generated page where all the links are /catalog/.. but the categories came up /catalog2/... Is this a "feature" of the current session handling? Am I missing a setting somewhere? Is this only going to happen to someone like me, visiting both (separate browsers, same IP) or may the occasional customer see this? Any insight is appreciated. Cheers, jason Link to comment Share on other sites More sharing options...
Mark Evans Posted September 22, 2002 Share Posted September 22, 2002 Is this a "feature" of the current session handling? Am I missing a setting somewhere? Is this only going to happen to someone like me, visiting both (separate browsers, same IP) or may the occasional customer see this? Any insight is appreciated. Firstly make sure you are storing the sessions in mysql not in files (or if you want it in files change the directory each store puts the session info). How are you opening the second browser?? Are you just going to file and new window?? If so the reason you are getting cross overs is because the session id is the same. Mark Evans osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops) --------------------------------------- Software is like sex: It's better when it's free. (Linus Torvalds) Link to comment Share on other sites More sharing options...
jasonv Posted September 22, 2002 Author Share Posted September 22, 2002 Firstly make sure you are storing the sessions in mysql not in files (or if you want it in files change the directory each store puts the session info). Good point. I hadn't thought of that, though I've seen it in the configuration. How are you opening the second browser?? Are you just going to file and new window?? If so the reason you are getting cross overs is because the session id is the same. No, I mean, I'm surfing /catalog/ in IE and /catalog2/ in Mozilla. I think you nailed it though -- it's getting clobbered in "files". Off to find that setting.. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.