如何使用Javascript启用浏览器cookie? [英] How to enable browser cookies using Javascript?

查看:180
本文介绍了如何使用Javascript启用浏览器cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用Javascript启用浏览器Cookie?我需要在之前由用户填写的表单页面中显示用户数据。请给我一些解决方案,以便在表单页面中显示之前已提交的数据。

Is there any way to enable browser cookies using Javascript? I need to show the user data in the form page which has filled by the user earlier. Please get me some solution to show the data which has already submitted before in the form page.

推荐答案

这不能完成,因为它会带来安全问题。

This cannot be done as it would bring security issues.

这篇关于如何使用Javascript启用浏览器cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆