0

I am creating a login system for which i need to send data securely.

I want to send PHP Session Data using SSL

But i didn't know how to send data over Https://

Please Guide Me.

Thanks.

2 Answers2

1

i didn't know how to send data over Https://

Exactly the same way as over HTTP.

But you should also set the HTTP only and secure flags on the session cookie.

symcbean
  • 47,736
  • 6
  • 59
  • 94
  • ... and make sure the links also point to `https://...`, as discussed in http://stackoverflow.com/a/8964190/372643 and http://stackoverflow.com/a/8765067/372643 – Bruno Jan 31 '12 at 11:14
0

Please check: How can I force users to access my page over HTTPS instead of HTTP? for details on assuring that your page is served via https.

Community
  • 1
  • 1
dbrumann
  • 16,803
  • 2
  • 42
  • 58