MikeDacre
Member
Posted 1 year ago #
I am having issues with logging in.
I need to use https://secure.site.com for admin because I want to use cloudflare. When I log in to https://secure.site.com and then after login click 'Visit Site' to go to http://www.site.com, my login status is not persistent. The admin bar does not appear at the top of the blog. Similarly, if I log in to http://www.site.com/wp-admin, and then log out from https://secure.site.com, I remain logged in on the http://www.site.com page (the admin bar still appears and I can go to http://www.site.com/wp-admin if I don't have 'force ssl admin' on.
Any ideas?
http://wordpress.org/extend/plugins/wordpress-https/
Hey MikeDacre,
Currently, the plugin isn't smart enough to decipher that you're just using a subdomain rather than a different host entirely. When using a different host, cookies can not be set on both domains because sites can only set their own cookies. Perhaps that's causing the issue. I'll see if I can reproduce it.
Thanks,
Mike
Hey MikeDacre,
I added this feature in the most current version. The plugin checks to see if the SSL Host is a subdomain, and if so, sets cookies accordingly. I think there's a bug where it won't correctly remove the cookies upon logout, but I'll get that fixed in the next version.
Thanks,
Mike