diff options
author | B. Stack <bgstack15@gmail.com> | 2021-06-20 16:12:54 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-06-20 16:12:54 -0400 |
commit | dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9 (patch) | |
tree | 752ca58d983d8c9ed2a36bb93eafd8775237160d /templates | |
download | session_app-dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9.tar.gz session_app-dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9.tar.bz2 session_app-dbe21e7fc9395f9f30fe3299ce09d59dc8a693e9.zip |
initial commit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 10 | ||||
-rw-r--r-- | templates/view.html | 9 |
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> |