Https ve http arasındaki PHP OTURUM değişkenleri

0 Cevap php

Ben güvenli bir alan (https) ve http sitenin geri kalanını sahip bir web sitesi var. Her şey şeyler https tarafında giriş için oturum değişkenleri kullanarak harika çalışır ve güvenli alanı harika çalışıyor.

My issue: I have a "login/register" button at the top of every http page on the site. I would like this to reflect login status and change to "logout" and also have some other logged in buttons that simply redirect to the https pages. I am not trying to manipulate any data or other secured info on the http pages in any way.

IE8 giriş için oturum değişkeni oluşturulan https (ana sayfada) http tespit ve doğru alternatif linki "oturumu" görüntüler. Ancak, diğer tüm tarayıcılarda oturum değişken http yoktur. Büyük bir güvenlik açığı yaratmadan, bu düzeltmek için en kolay yolu nedir? Oh, ve URL'ler http ve https dışında aynıdır.

0 Cevap