I'm developing an application to learn about python and Google App Engine. I would like to get values from cookies and print on templates to hide or show some content.
Is it possible?
What kind of session system is the best to use with google app engine?
What could it be the best way to use sessions on gae and templates?
How can i validate the value of the cookies using templates?
remember that Google App Engine is a platform, not a framework, so your question would be if webapp2 (the default framework used in GAE) has a nice interface to deal with cookies. Even if the framework doesn't have this interface, as long as you have access to the Cookie header of the request you can have access to cookies.
Here are two examples, one using the webapp2 cookies interface, and the other just using the Cookie header.
webapp2:
Cookie header (using webapp2):
The same is for sessions, although making your own session library is more difficult, anyway, webapp2 have you covered:
see webapp documentation for more information about sessions and cookies.
About your question regarding the templates, again, you should look at the documentation of the template engine your using and look for what you need to know.