link -> login page (if not logged already logged in) --> destination page

31 views
Skip to first unread message

Emmanuel Mayssat

unread,
Nov 23, 2012, 8:01:55 PM11/23/12
to google-a...@googlegroups.com
I would like to send emails with url pointing to specific pages/urls in my app.
When clicking on the link, users may not be logged in or even signed up.
I would like the link to redirect them to the signin/singup page if required and when completed to go to the destination page as specified in the link.

How do you recommend I do that with python/webapp2? 

JH

unread,
Nov 24, 2012, 4:34:52 PM11/24/12
to google-a...@googlegroups.com
You could use a session and store the redirect page in a session variable if they are redirected to a login page.  Then send to that page after a successful login.  Or you could embed the redirect page in your urls.  This should be a trivial issue to solve.

Emmanuel Mayssat

unread,
Nov 24, 2012, 5:30:26 PM11/24/12
to google-a...@googlegroups.com
I was hoping for something more creative ;-)
I guess I will use one of those methods

Thanks,


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/YsOf54n7ahIJ.

To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

alex

unread,
Nov 24, 2012, 5:44:27 PM11/24/12
to google-a...@googlegroups.com
http://stackoverflow.com/questions/10858834/google-app-engine-simpleauth-redirect-url-on-the-fly
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/gOX8pp32O0cJ.
Reply all
Reply to author
Forward
0 new messages