Hi Sander,
My simple login angular code is below:
return this.http.post('http://localhost/debit/site_v2/',
JSON.stringify({ user_name_entry_field: username, password: password }))
.map((response: Response) => {
if (response.json().error === 'incorrect_password') {
return response.json().msg;
} else if (response.json().notification === 'login' ) {
return true;
}
});
When I try to login I see php server side session is started but it is not
set into browser. I think this is Angular issue as on server request
somehow it need to be set browser.
Regards,
Turkel.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.