+ 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 Answers
+ 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