I'm using pyramid 1.4
when I make a normal post to the url generated by 
request.route_path('make_connection', invitation_token = 

invitation_token), I got authenticated automatically,
but if I make  a ajax post to the same url, it redirects me to the login 
page. Why this happen? Any solutions?

also if I add the request parameter to the route_path like this 
request.route_path('make_connection', request, 

invitation_token = invitation_token), the url
became make_connection/b00f47a6483a84e38d5dd6c5b14e6448dcf4cc18/GET blahs 
blahs.....

Why the GET path attach to the url?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to