+ 3
How to create sessions after logging in to a webpage?
I want to create a secured webpage using sessions, need help to implement this.
3 ответов
+ 2
You should use PHP, for example.
<?php
// Start the session
session_start();
$_SESSION['name'] = $_POST['name'];
?>
<!DOCTYPE html>
<html>
<body>
<?php
echo "Hello, " . $_SESSION['name'];
?>
</body>
</html>
+ 6
It is nice one 👌
+ 5
yes 👍 got it , thanks