Loading...

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

Temperature: 0 °C

Mark ChangMark Chang
author_tools

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

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

以上紀錄~

#故事  #php  #Prefixed  #PHPSESSID  #sessionname  
https://innstory.com/story-直接在PHP重新命名帶有前綴的sessionname-2760
PHP

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

.htaccess設定網站預設首頁次序

.htaccess設定網站預...

一般php空間預設設定是index.php為首頁。 所以如果網站用index.php做首頁,就不需要...

使用 Closure Compiler 幫 javascript 瘦身

使用 Closure Com...

JavaScript(縮寫為JS)是一種進階的、直譯的程式語言,且作為客戶端手稿語言在使用者的瀏覽器...

使用.htaccess關閉特定文件的緩存

使用.htaccess關閉特...

以特定檔案為例 <Files page.php> FileETag None Header unse...

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