• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Secure sockets

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
The web services tutorial states that:

If you are using sessions, once you switch to SSL you should never accept any further requests for that session that are non-SSL. For example, a shopping site might not use SSL until the checkout page, then it may switch to using SSL in order to accept your card number. After switching to SSL, you should stop listening to non-SSL requests for this session


If I needed to construct a website where the user is required to log in, add items to their shopping basket and then pay for their items, how would I implement this?
The idea would be that they could log in using https, do their shopping in a normal http way and then pay using https. Isn't this exactly the kind of thing the tutorial states I shouldn't be doing?
This might not be the best place for this posting but the question has arisen from reading the web services tutorial.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The quote says "first HTTP, then HTTPS for checkout". You're saying "first HTTP, then HTTPS for checkout". I don't see any problem here -- the only difference is that the quote suggests staying in HTTPS mode once the customer has stored confidential information into the session using his cookie as the key to this information.
 
reply
    Bookmark Topic Watch Topic
  • New Topic