Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mix sessions from regular site to osC site


shooter-boy

Recommended Posts

Posted

Hi All,

 

I have one that i haven't managed to get my head around yet.

 

I have an original front end site that I have built from scratch, and I am putting in an osC store. Sales is not the main intention of my website, just an addition.

 

My own site uses sessions for various things, and I use my own link wrap function similar to the tep_href_link function to hold sessions without cookies.

 

My questions is, does anyone know of a way to pass my session info to the osC site when the customer clicks on the store link from my normal site, and then back again (eg., doesn't lose cart if they go back to the regular site that I built and then back to the osC bit)?

 

I thought that I could try and make the assigned session id equal the osCid or something, but as yet haven't worked anything that works properly.

 

Unfortunately it is local, so I can't provide a link. It is just using the regular session support in php4, nothing special.

 

Any assistance would be very much appreciated.

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted

Don't suppose anyone can help?

 

Thanks

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted
Hi All,

 

I have one that i haven't managed to get my head around yet.

 

I have an original front end site that I have built from scratch, and I am putting in an osC store. Sales is not the main intention of my website, just an addition.

 

My own site uses sessions for various things, and I use my own link wrap function similar to the tep_href_link function to hold sessions without cookies.

 

My questions is, does anyone know of a way to pass my session info to the osC site when the customer clicks on the store link from my normal site, and then back again (eg., doesn't lose cart if they go back to the regular site that I built and then back to the osC bit)?

 

I thought that I could try and make the assigned session id equal the osCid or something, but as yet haven't worked anything that works properly.

 

Unfortunately it is local, so I can't provide a link. It is just using the regular session support in php4, nothing special.

 

Any assistance would be very much appreciated.

 

hmmmm.

 

would it be possible to update the static site page by calling the osc sessions function ? instead of the typical session_start ?

If you're using a header include file, it would be easy.

 

This sounds a bit too simple ? maybe i'm missing something from your oringal post.

Posted

Hi David,

 

Thanks for the post.

 

I have tried to basically include the entire osC functions set!, but no luck.

 

I even had session id's parsing in the URLs, but when i went back and forth from the regular site (still dynamic and SQL driven, just not osC) and the store, the ID changed. I tried writing the same cookies, entering isset functions to try and use original session id if it existed, but no luck. Probably just my bad coding, but not much I can do about it at this stage! LOL.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Archived

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

×
×
  • Create New...