Henry, On Tue, Jan 3, 2017 at 4:12 AM, Henry <henry.adisuma...@gmail.com> wrote:
> Hi, > > I have a question regarding a form-based authentication mechanism. Given > the following situation: > > 1. User lands on the login page and attempts to sign in. > 2. The server authenticates user and sets session cookie on the http > response upon successful authentication. > > Then, how do I get the user to the resource page after successful > authentication? Redirection seems to just forward the existing http request > (the http request when user first lands on the login page) and hence there > is no session cookie detected. > here is an example: https://github.com/sbinet/go-web-examples/tree/master/08-go-login-auth hth, -s -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.