Nuno
Nuno

Reputation: 3612

Different session IDs between http and https php

In a PHP environment, is it possible to have different/independent sessions while using http and https?

I want to use https on my site just for administration purposes, but, once the rest of the site is http, using https gets useless if I use both at the same time.

Upvotes: 0

Views: 889

Answers (1)

vicTROLLA
vicTROLLA

Reputation: 1529

You can use different session cookie params based on URI.

session_set_cookie_params

Upvotes: 1

Related Questions