Skip to content

"关于闪存数据存到 session"译文 #394

Open
@bigqiang

Description

@bigqiang

译文链接

有时候你仅想在下一个请求之前在 Session 中存入数据,你可以使用 flash 方法。使用这个方法保存在 session 中的数据,只会保留到下个 HTTP 请求到来之前,然后就会被删除。

原文:

Sometimes you may wish to store items in the session only for the next request. You may do so using the flash method. Data stored in the session using this method will only be available during the subsequent HTTP request, and then will be deleted.

这里正确的翻译:
有时候你仅想在 Session 中存入数据用于第二次请求,你可以使用 flash 方法。使用这个方法保存在 session 中的数据,仅会保留到下次 HTTP 请求期内有效,然后就会被删除。

查前面几个版本,问题同样存在。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions