summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-06-20 16:12:54 -0400
committerB. Stack <bgstack15@gmail.com>2021-06-20 16:12:54 -0400
commitdbe21e7fc9395f9f30fe3299ce09d59dc8a693e9 (patch)
tree752ca58d983d8c9ed2a36bb93eafd8775237160d /templates
downloadsession_app-dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9.tar.gz
session_app-dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9.tar.bz2
session_app-dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9.zip
initial commit
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html10
-rw-r--r--templates/view.html9
2 files changed, 19 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..daa6893
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Front page</title>
+</head>
+<body>
+Welcome to this sample application! To access protected pages you need to <a href="/login/">log in</a>. Accepted methods are kerberos and ldap.
+
+{{ session }}
+</body>
+</html>
diff --git a/templates/view.html b/templates/view.html
new file mode 100644
index 0000000..5c14175
--- /dev/null
+++ b/templates/view.html
@@ -0,0 +1,9 @@
+<html>
+<title>View Session Cookie</title>
+Username: {{ s_user }}<br/>{#
+Cookie user: {{ c_user }}<br/>
+Session: {{ session }}<br/>
+Cookies: {{ cookie }}<br/>#}
+Session expires: {{ cookie.timestamp }}<br/>
+Logged in through: {{ cookie.type }}
+</html>
bgstack15