我在登錄後重定向上一頁,但在登錄功能中,我的會話不工作。 詳細說明 我是我contactus頁面上,我在頁面 session_start();
include('db/connection.php');
echo $_SESSION['url'] = $_SERVER['REQUEST_URI'];//here I am getting the name of page like /conta
我正在登錄另一個網站並獲取數據的網站上工作。我正在使用燒瓶並請求庫。我的代碼從html模板的輸入中獲取登錄名和密碼。一切都好,直到我嘗試獲得另一個頁面。然後我失去登錄的會話。 views.py from LibrusMobile import app
from flask import render_template, request
from core.forms import LoginF