per1os Posted July 7, 2007 Share Posted July 7, 2007 Hi All, I am working on a project with a session shopping cart. Basically no user registration and hopefully no database period. It does everything on the fly. The issue I am currently having is that I cannot see a way to pass the serialized item data from the unsecured site to the secure site. Get won't work because there could potentially be too many items. A hash won't work for the same reason. Right now the only way I can see doing this is having a database that houses the sessionid, time and the serialized item data, than creating a script on the unsecured site in which the secure site is passed the sessionid and from there it requests a page called get_items.php which returns the serialized data from the database and is then able to unserialize it and process it. I was hoping to keep the database out of it, I know I could probably use the same scheme with flat files, but what I am curious about is there a way that one could pass data (no matter the size) from one site to other without having to do the remote request? I do not think there is, but figured I would give it a shot and ask. If anyone knows of a way, I would be appreciative of links I could read up on it. Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/58856-session-shopping-cart-to-secure-site/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.