Hi
Can any of you point me to a tutorial / example / code where it is explained how to implement sessions using gorilla ?
I want to write a quiz webapp, where I have to ask each user 10 random questions, one after another. In the first page I will get the username/email address, ask 10 questions and then display his marks by the end of questions.
Since there may be multiple users accessing the site in parallel, I need a nice way to maintain the session on the server for each unique user/browser-tab.
As such there is no authorization or even authentication. I just need a way to get the email address in teh first page, maintain a question-counter for each question asked, aggregate marks for each user/request. It may also happen that two different users from two different places may use the same dummy email address.
Any pointers ? This is just a dummy application to understand how HTTP sessions work and in using gorilla. It is not going to be in production, except for a few demos to some friends. So I am not overly concerned with passwords, hashes, salt etc.
Thanks.
Sankar