Loading...

直接在PHP重新命名帶有前綴的session.name

Temperature: 0 °C

Mark ChangMark Chang
author_tools

直接在php檔案裡加入以下指令

session_name('__Secure-PHPSESSID');
session_start();

以上紀錄~

https://innstory.com/story-直接在PHP重新命名帶有前綴的sessionname-2760

Prev
 Fatal_error_Allowed_memory_size_of_50331648_bytes_exhausted_tried_to_allocate_12288_bytes_in

Next
在PHP裡添加HTTP_Strict_Transport_Security 

About the Author

Mark Chang

離不開電腦的宅男

Visitor message

Leave some footprints to prove that you visited me

Recommended reading

Author's other related stories

ubuntu 18.04  apache 目錄啟用並開啟.htaccess 覆寫

ubuntu 18.04 apache 目錄啟用並開啟.htaccess 覆寫

.htaccess是在Apache HTTP Server這款服務器架設軟件下的一個對...

Ubuntu環境下apache 目錄啟動.htaccess 功能

Ubuntu環境下apache 目錄啟動.htaccess 功能

.htaccess 檔案是目錄層面的設定檔,可以對目錄變更 Apache 的設定。 要...

使用CSS讓整個網頁由彩色變黑白色!

使用CSS讓整個網頁由彩色變黑白色!

blackandwhite 把下面的語法加入網頁的<head>與</...

Please select an option

error

Hi, thank you for your participation, but you cannot vote repeatedly~

Join innstory now and start recording your story.

"Innstory" is a place to store stories. We are committed to becoming a warm platform. Deepening the bonds between people is our direction.
We are convinced that the blockchain between people is not just a cold calculation. Join us now.

Wrong format