>
>  inside the success handler of a post(), $cookies returns old cookie value
>

This is the problem that I am having as well. There is something that I am 
missing. Does anyone have any ideas? I am using version 1.2.6

$http.post('/wms/x-services/signin', tokens)
.success(function(result, status, headers, config) { // sign in successful
// do stuff with $cookies -- but the $cookies are not updated with the 
response
})
.error(function(data, status, headers, config) {
});

On Thursday, October 17, 2013 3:13:23 PM UTC-4, Alec Lebedev wrote:
>
> Unfortunately, this is still a problem in Angular 1.2.0-RC2.
>
> In general, I can manage cookies using $cookies just fine. However, inside 
> the success handler of a post(), $cookies returns old cookie value, and not 
> the new value from the post response.
>
> Alec
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" 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/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to