gmhk
gmhk

Reputation: 15940

Does http and https will share the same sessions

I am building a web application and I need to know whether I can share the Same session or not between http or https?

Upvotes: 4

Views: 648

Answers (2)

this. __curious_geek
this. __curious_geek

Reputation: 43207

Yes, Sessions are shared across Http and Https requests.

Upvotes: 3

Pavel Radzivilovsky
Pavel Radzivilovsky

Reputation: 19114

Of course you can. Most website login mechanisms do it. They transfer password in cleartext over secure HTTPS, and after authenticated, they redirect you back to fast HTTP.

Upvotes: 3

Related Questions