Question: How can I auto reload html page based on the value assigned to the session?

```
if ($_SESSION["LoadPage"])
{
//Reload my html page
}

```

I know how to use `<meta http-equiv="refresh" content="5" >` but it cannot start auto refresh itself without someone to refresh

Please anyone can help me

Answer: 
Try `adb push test.txt /sdcard/`, this will work.

On Android 11, we cannot access /mnt by ADB. But use the symlink is ok, see [this link](https://android.stackexchange.com/a/229825/342816) for details.

I run `ls` command on the Android 11 emulator, we can see `sdcard -> ?` within `/mnt`, and `sdcard -> /storage/self/primary` within `/`, which means softlink `/mnt/sdcard` is not working on Android 11.

```sh
# symeonchen @ SBook in ~ [22:16:05] 
$ adb shell ls -al / | grep sdcard   
lrw-r--r--   1 root   root         21 2020-12-17 02:01 sdcard -> /storage/self/primary

# symeonchen @ SBook in ~ [22:16:14] 
$ adb shell ls -al /mnt | grep sdcard
l?????????  ? ?      ?           ?                ? sdcard -> ?

```
According to android doc.

> 
> Apps that run on Android 11 but target Android 10 (API level 29) can still request the requestLegacyExternalStorage attribute.
> 
> 
> 

So try to change your target API level. Recommended way would be to use [ContentResolver](https://developer.android.com/reference/android/content/ContentResolver) or can say [Scoped storage](https://developer.android.com/training/data-storage#scoped-storage) instead of Legacy deprecated storage APIs.

Check out this for more details. [Scoped storage enforcement](https://developer.android.com/about/versions/11/privacy/storage#scoped-storage)