如何在登录字段中创建Cookie,请问我. [英] How to Create Cookie in login field please Way me.

查看:93
本文介绍了如何在登录字段中创建Cookie,请问我.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,


请帮帮我,

如何使用示例在asp.net中创建cookie.

例如,

我有2个字段,

1.用户名2.密码
和复选框(记住密码)和按钮(Login_Click)


先登录我的邮件.
注意:勾选(勾选)记住字段.


然后下次只需输入用户名
密码将自动进入密码字段(来自cookie).

如何访问和存储cookie,请问我.


如何解决此问题?

莫汉.

Dear Sir,


Please help me,

How to create cookie in asp.net with example.

For Example,

I have 2 fields,

1. UserName 2. Password
and Checkbox(remember password) and button(Login_Click)


first login my mail.
Note: check(tick) remember field.


then next time just entering username
password will come to password field automatically(from cookie).

How to access and stored cookie please way me.


how to solve this problem?

By mohan.

推荐答案

这是浏览器的默认功能,无需使用cookie.

看这个链接

http://support.microsoft.com/default.aspx?scid=kb;zh-我们; 258063 [ ^ ]
This is the default feature of browser, no need to use cookie.

look this link

http://support.microsoft.com/default.aspx?scid=kb;en-us;258063[^]


阅读此博客
http://msdn.microsoft.com/en-us/library/ms178194.aspx [ ^ ]
--NDK
Read this blog
http://msdn.microsoft.com/en-us/library/ms178194.aspx[^]
--NDK


您是否听说过MSDN站点?我知道它不是很受欢迎,但仍然很:)

ASP.NET Cookies概述 [
Have you ever heard about MSDN site? I know it''s not so popular but still :)

ASP.NET Cookies Overview[^]


这篇关于如何在登录字段中创建Cookie,请问我.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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