I got sessions stored on via ie but i need to put them into database so they can transfer over to a secured pages and i was wondering how i can leave them on via ie and also set them in database so they can transfer? and also can someone help me set my creditcard page into my check out page i found a nice credit card script but not sure on how to really put it into my check out pages ill give you the links to each one to see what they look like
Checkout page 1
http://www.fraziers.webcom-online.org/cart/test1.html
checkout page 2
http://www.fraziers.webcom-online.org/cart/test2.html
credit page 1
http://www.fraziers.webcom-online.org/c ... cpage.html
credit page 2
http://www.fraziers.webcom-online.org/c ... part1.html
Thank you
Smackie
Sessions in database
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
I have no idea what you are asking.. when you mean transfer to a secure page you mean SSL secured page? From your links you've shown you've not showed any SSL links so I'm confused.
google something like "lost shopping cart session", as this is a common problem for developers.. this is assuming I understood your problem.
Could you please explain in much more detail exactly what you are asking
google something like "lost shopping cart session", as this is a common problem for developers.. this is assuming I understood your problem.
You lost me completely from this point on..and i was wondering how i can leave them on via ie and also set them in database so they can transfer?
Could you please explain in much more detail exactly what you are asking
http://www.yoursite.com and https://www.yoursite.com are entirely different domains. Thus when you access from https you cannot see the sessions stored on the former domain.
Is that what you are asking?
Is that what you are asking?
no thats not what im asking im asking how do i take the session id from the page and put it into database and echo it back out onto the secured pages so the costumer wont lose there session going to the secured place.... and the 4 pages i showed i wanted to know how do i combind them together so they both work together in 2 pages?
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
session_set_save_handler();
Write your own method of storing in the DB. See examples on that page
Then you just need to assign sessions to userids.... providing the session hasn't been cleaned out you should be able to pull it back from the database for that user. Not sure it will work across HTTP and SSL though.
No idea what you mean by "via ie", that's just the browser... the sessions are stored on the server
Write your own method of storing in the DB. See examples on that page
Then you just need to assign sessions to userids.... providing the session hasn't been cleaned out you should be able to pull it back from the database for that user. Not sure it will work across HTTP and SSL though.
No idea what you mean by "via ie", that's just the browser... the sessions are stored on the server