0
有効期限付きのangularjsで$ cookieStoreを使用しましたが、有効期限が切れています。
このコードを見...
var today = new Date();
var expiresValue = new Date(today);
//Set 'expires' option in (365 x 24 x 60 x 60) = 31536000 seconds = 1 year
expiresValue.setSeconds(today.getSeconds() + 31536000);
// Setting a cookie
$cookieStore.put('STYPE', response.data.type, {'expires' : expiresValue});
は、どのように私はangularjsで有効期限を設定することができます。
を使用します –