Can I use a cookie this way without HTTPS?

Discussion in 'PHP' started by Tony Brar, Nov 10, 2012.

  1. #1
    Hi guys,

    I was on the php website, documentation for setcookie:
    http://www.php.net/manual/en/function.setcookie.php
    Under parameters, in secure,it says that the cookie will only be sent over HTTPS.
    Does that mean I need an SSL certificate to do it?

    Thanks,
    Tony
     

    Attached Files:

    Solved! View solution.
    Tony Brar, Nov 10, 2012 IP
  2. #2
    Yes, an SSL certificate is necessary.
     
    billzo, Nov 10, 2012 IP
  3. Tony Brar

    Tony Brar Active Member

    Messages:
    220
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #3
    Okay, thanks.
     
    Tony Brar, Nov 10, 2012 IP