When we try to switch page from HTTP to HTTPS or HTTPS to HTTP, active login not work.

for example :
if we are login using HTTP url and goes to any checkout page (HTTPS pasges) user seem logoff on that page.

if we revert back HTTP page user seem Logon.

I am using Ubuntu with nginx server and Drupal version 7.32 and securelogin as well.

Please provide some help on this. I will thankful for same.

Comments

dilipsingh02’s picture

Issue summary: View changes
babusaheb.vikas’s picture

Hi,

Put it in your setting.php

$conf['https'] = TRUE;

I hope your problem will solve.

dilipsingh02’s picture

I have try this but no luck. when I switch from HTTPs url to HTTP user login is gone.

bjdeliduka’s picture

How are you "Switching" between those states?

What are the urls for the http and https (www.domain.com and secure.domain.com eg)?

Are both of these url's within the domain contained by $cookie_domain ?

One thing to consider is applying SSL to the whole site. If performance under https is an issue consider a webcache/ssl frontend like CloudFlare.

The only reason (i can think of) the "login" would not be "seen" is the cookie used to identify the session is not being seen by both states/sites.

mthomason’s picture

I'm having this issue too.

Applying SSL to the whole site is not a solution to this bug. This project exist to toggle users between http and https.

pandroid’s picture

There is a patch for this. See issue: https://www.drupal.org/node/1400880

dilipsingh02’s picture

Status: Active » Closed (cannot reproduce)
apaderno’s picture

Issue tags: -#access