Почему сайт для ПК не работает в мобильном приложении Chrome?Php

Кемеровские программисты php общаются здесь
Anonymous
Почему сайт для ПК не работает в мобильном приложении Chrome?

Сообщение Anonymous »


In my login.php I wrote a code to create a session if the login is success

if(password_verify($password, $hashed_password)){ session_start(); $_SESSION["loggedin"] = true; $_SESSION["id"] = $id; $_SESSION["username"] = $username; header("location: ../../homepage.php"); }else{ $password_err = "The password you entered was not valid."; echo $password_err; } and navigate to homepage.php by carrying that session. Below code shows session implementation in homepage.php

SIGN IN SIGN UP If a session creates, Above code will execute and hide the div, At that moment when I am in the "mobile chrome app" and try to change the "desktop site". It will change my screen in to white color instead of switching to the desktop site.

I want to know why it happens? and solutions for this issue.


Источник: https://stackoverflow.com/questions/781 ... chrome-app

Вернуться в «Php»