Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions and other pages


resoman

Recommended Posts

Hello,

 

I have a great website thanks to OSC, and found some ways to manipulate other pages to work with it.

 

at http://www.bavender.com/ you can click on any link and CONTINUE a session, however, starting a session is a whole different story.

 

From what I can tell, a customer MUST either login or add a product from OSC to the cart in order to create a session ID.

 

I have a custom shirt design page that creates a custom shirt and then adds it to the cart, then it just uses my cheap trick to store the custom shirt I designed.

 

The trick I used? I just had ?osCsid= added to the end of each URL in order to continue the session ID on every page.

 

I am sure some of this is confusing, but it works for the most part, however it is not 100% functional.

 

Once a customer logs in, or actually adds a product that does create a session, well, that customer basket gets deleted because there was no real session stored!

 

Any assistance would be helpful, tips, etc.

 

I have done numerous searches on this previously thats how I came up with the ?osCsid= trick, however it doesnt meet my needs 100%

 

Thanks in advance to all of you OSC guru's!

Jesse Rooney

Link to comment
Share on other sites

Hello,

 

I have a great website thanks to OSC, and found some ways to manipulate other pages to work with it.

 

at http://www.bavender.com/ you can click on any link and CONTINUE a session, however, starting a session is a whole different story.

 

From what I can tell, a customer MUST either login or add a product from OSC to the cart in order to create a session ID.

 

I have a custom shirt design page that creates a custom shirt and then adds it to the cart, then it just uses my cheap trick to store the custom shirt I designed.

 

The trick I used? I just had ?osCsid= added to the end of each URL in order to continue the session ID on every page.

 

I am sure some of this is confusing, but it works for the most part, however it is not 100% functional.

 

Once a customer logs in, or actually adds a product that does create a session, well, that customer basket gets deleted because there was no real session stored!

 

Any assistance would be helpful, tips, etc.

 

I have done numerous searches on this previously thats how I came up with the ?osCsid= trick, however it doesnt meet my needs 100%

 

Thanks in advance to all of you OSC guru's!

 

Under admin -> configuration -> sessions I have everything set as "TRUE" except "Force Cookie Use" I have that set as "FALSE"

 

Then you might want to go to this forum to fix your session when not forcing cookies:

http://www.oscommerce.com/forums/index.php?showtopic=182189

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...