Yes, I can differentiate b/w /user/login and user/login?code=
But Facebook in some cases redirects to user/login?code= which I am able to handle successfully. In other cases it redirects to user/login#_=_ in which case my code fails. Can you think of a solution to this? Thanks Saurabh On Tuesday, March 13, 2012 4:56:23 AM UTC+5:30, pbreit wrote: > > I don't think you can differentiate between /user/login and /user/login# > > But you can easily differentiate between /user/login and user/login?code= > > Note: "/user/login?code=" and "/user/login#_=_?code=" will look identical > to the server. The # tells the browser (and only the browser) where to > scroll to show the anchor. > > if request.vars.code: > ... > > >