osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Session ID

This is a discussion on Session ID within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have two store fronts that share the same database. For some reason one of my store fronts displays the ...


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 08-13-2004, 03:42 PM
andyy15's Avatar
Member
 
Join Date: Aug 2004
Posts: 63
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
andyy15
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-15-2004, 03:24 AM
Member
 
Join Date: Aug 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wenzlerpaul
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-15-2004, 12:33 PM
andyy15's Avatar
Member
 
Join Date: Aug 2004
Posts: 63
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
andyy15
Default

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.
__________________
Check out my homepage.. It\'s my jewelry website.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-15-2004, 11:40 PM
Member
 
Join Date: Aug 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
wenzlerpaul
Default

Hi,

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.
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 changes on return ozenalp osCommerce 2.2 Modification Help 0 04-11-2006 05:10 AM
session id in URL cominus osCMax v1.7 Discussion 3 11-11-2004 04:34 PM
Session Help doggifts osCommerce 2.2 Modification Help 1 10-21-2003 07:09 PM
SSL Errors, Session Cookie, Session Cache, NOVICE Problems? hanool osCommerce 2.2 Modification Help 1 09-07-2003 11:49 AM
session id thorben osCommerce 2.2 Installation Help 2 06-03-2003 06:35 AM


All times are GMT -8. The time now is 05:27 PM.


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