多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

Your company has a corporate policy that prohibits storing a customer’s credit card number in any corporate database. However, users have complained that they do NOT want to re- enter their credit cardnumber for each transaction. Your management has decided to use client-side cookies to record the user’scredit card number for 120 days. Furthermore, they also want to protect this information during transit fromthe web browser to the web container; so the cookie must only be transmitted over HTTPS. Which codesnippet creates the "creditCard" cookie and adds it to the out going response to be stored on the user’s webbrowser?()

  • A、
  • B、
  • C、
  • D、
正确答案:C
答案解析:
进入题库查看解析

微信扫一扫手机做题