会话cookie不会持续很长时间

时间:2018-07-21 18:36:43

标签: javascript cookies session-cookies

我需要为持续几天或几周的会话制作Cookie,我尝试过的问题是这种情况不会发生,我不知道该网站是否不允许这样做或我做错了什么,我需要有关如何执行此Corratamente的信息,对我有个主意,我在这里。

我登录该网站时收到了此信息,我还修改了2周内到期的时间

[
{
    "domain": ".habbo.com.br",
    "expirationDate": 1595269672,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__gads",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "ID=3a43887d1eac32ec:T=1532197672:S=ALNI_MYw_zuEupP29IhhUBuLo54svF5laA",
    "id": 1
},
{
    "domain": ".habbo.com.br",
    "expirationDate": 1595269824,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__utma",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "240202650.1734624679.1532197671.1532197794.1532197794.1",
    "id": 2
},
{
    "domain": ".habbo.com.br",
    "expirationDate": 1532199624,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__utmb",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "240202650.9.7.1532197824594",
    "id": 3
},
{
    "domain": ".habbo.com.br",
    "hostOnly": false,
    "httpOnly": false,
    "name": "__utmc",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": true,
    "storeId": "0",
    "value": "240202650",
    "id": 4
},
{
    "domain": ".habbo.com.br",
    "expirationDate": 1532198393,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__utmt",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "1",
    "id": 5
},
{
    "domain": ".habbo.com.br",
    "expirationDate": 1547965824,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__utmz",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "240202650.1532197794.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)",
    "id": 6
},
{
    "domain": ".habbo.com.br",
    "expirationDate": 1595269789,
    "hostOnly": false,
    "httpOnly": false,
    "name": "_ga",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "GA1.3.1734624679.1532197671",
    "id": 7
},
{
    "domain": ".habbo.com.br",
    "expirationDate": 1532284189,
    "hostOnly": false,
    "httpOnly": false,
    "name": "_gid",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "GA1.3.1730738162.1532197671",
    "id": 8
},
{
    "domain": "www.habbo.com.br",
    "expirationDate": 1847557709.34944,
    "hostOnly": true,
    "httpOnly": true,
    "name": "browser_token",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "s%3A_vWC-WQpcl4uyqoD_Apt5q6Pu4spspHlZvU99diEnGI.9Pe4CUMps36HouVbI%2FJxqfR74Ab7YrwBtjgdMT4KVTU",
    "id": 9
},
{
    "domain": "www.habbo.com.br",
    "hostOnly": true,
    "httpOnly": true,
    "name": "session.id",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": true,
    "session": true,
    "storeId": "0",
    "value": "s%3Avsy5dOFdvSfOFxeKsB58Em5skLzbfsDkRoRzPsW3Mwg.9cgcxGyqrw7qc5BhCMPg4G4tKmktAN2nqs%2Fwjpp6rI0",
    "id": 10
}
]

0 个答案:

没有答案