session-variables

    0熱度

    1回答

    我創建一個登錄表單中的index.php和形式的作用是loginform.php,所以我要在功能記得我複選框在登錄表單中添加「記住我」功能在PHP中。 this is loginform image

    0熱度

    1回答

    我有以下陣列: Array ( [message] => [user_id] => 10 [errors] => [temp_access_token([email protected])] => Array ( [access_token] => 99abcdefghijk [generated] => )

    0熱度

    1回答

    我似乎無法確定爲什麼我的會話變量在打印項目單擊事件中返回null。數據表在會話變量之前存在。 任何建議表示讚賞。 protected void btnGetOrderData_Click(object sender, EventArgs e) { Class1 x = new Class1(); // create a new instance of class1

    -1熱度

    1回答

    這是我的代碼如何使用這個代碼在用戶單擊後退按鈕 if(isset($_SESSION['Seats'])) { $Eventid = $_SESSION['Eventid']; $stmt = $con->prepare( 'UPDATE fistevent SET `Status`=" " where `Event_Id`=? AND `seats`=? AND

    0熱度

    1回答

    當我使用Django的開發服務器時,下面的代碼在本地工作,但我遇到了Nginx和Gunicorn生產中的間歇性錯誤。 views.py def first_view(request): if request.method == "POST": # not using a django form in the template, so need to parse the req

    0熱度

    2回答

    這是我的第一頁。我只是無法讓我的變量到下一頁index.php($ _SESSION ['admin_email'])。變量賦值工作在第一頁上細,在index.php中它總是重定向到的login.php <?php error_reporting(0); session_start(); include_once('../_inc/_class/Users.php'); $dbUsers

    0熱度

    2回答

    我的問題是出現此錯誤: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use nea

    13熱度

    11回答

    對於登錄即時通訊使用session_start(),對於桌面它的工作正常,但在移動設備上,它不起作用。當我使用變量創建session_id()時,例如,session_id('login')其在移動設備上工作,但在其他計算機上打破其他會話。但是當自動生成session_id()時,它不適用於移動設備。我該怎麼辦?上的index.php 我的session_start代碼 session_start

    -1熱度

    1回答

    我使用腳本在我的網站這樣localhost/panel/index.php 在index.php腳本設置會話這樣 $cookie_lifetime = ini_get('session.cookie_lifetime') ? ini_get('session.cookie_lifetime') : 0; session_set_cookie_params($cookie_lifetime , r

    0熱度

    1回答

    我有一個PHP頁面,腳本正在搜索某個特定名稱的表是否存在。如果沒有表格,它會顯示合適的信息。如果存在表格,則會向其添加一些數據並顯示成功會話消息。現在,我想顯示會話消息爲Data added to ABC (name of the chosen table) successfully。相反,我得到的會話消息爲Data added to $table sucessfully。 請幫忙。以下是我的代碼