Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var cookie = [[CPCookie alloc] initWithName:'le_auth'];
- var token = data.user.auth_token;
- var myDate=new Date();
- [cookie setValue:token expires:myDate domain:'localhost'];
- console.log(token);
- console.log([cookie value]);
Add Comment
Please, Sign In to add comment