V
V
Vova Putsyk2015-12-08 18:42:21
Python
Vova Putsyk, 2015-12-08 18:42:21

How to make authorization on bottle.py?

It is necessary to make it so that when the user logs in, new addresses would be available for him. For example, there is an authorization page (/admin), and a page for adding a new post (/admin/addpost) and when a user logs into his account, the address for adding a new post (/addpost) becomes available to him.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
slepowl, 2015-12-09
@slepowl

get_cookie() & set_cookie() to help you =)

N
Nonprogrammer, 2016-03-14
@c_pro_lang

I think it's best to start the basics of web programming with php rather than python/bottle. There are many books on php and all the answers can be found there.
Interesting, have you completed the site yet?)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question