如何使用代码vb.net将cookie存储为特定位置的文本文件 [英] how to store cookie as text file at specific place in using code vb.net

查看:90
本文介绍了如何使用代码vb.net将cookie存储为特定位置的文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了signalR项目,它将股票从股票交易所直播给客户(用户)。因此,在作为用户登录应用程序之后,应用程序在线提供所有股票价格,并且该用户选择他们的共享并在网格中显示。之后,无论用户在应用程序上显示哪个信息都存储在一个文本文件中,并且其ID和所有每日记录都是他添加的共享。所以请帮我解释一下。

I have create signalR project which give live broadcast of stock from stock exchange to client (user). So after log in in application as user an application give all stock prices online and that user select their share and show in grid. after that whatever user show on application that information store in one text file with their id and all daily record which share he add. so please help me to give some idea of it.

推荐答案

这里有一些资源可以让你开始使用Cookies



http://msdn.microsoft.com/en-us /library/78c837bd(v=vs.100).aspx [ ^ ]



http://msdn.microsoft.com/en-us/library/aa289495(v = vs.71)的.aspx [<一个href =http://msdn.microsoft.com/en-us/library/aa289495(v=vs.71).aspx\"target =_ blanktitle =New Window> ^ ]



和CodeProject ASP中的Cookie。 NET [ ^ ]



然而,我是我们可能希望存储比使用cookie更常见的东西,所以你可能会发现它也很有用在ASP.NET中实现用户配置文件 - 初学者指南 [ ^ ]
Here are some resources to get you started with Cookies

http://msdn.microsoft.com/en-us/library/78c837bd(v=vs.100).aspx[^]

http://msdn.microsoft.com/en-us/library/aa289495(v=vs.71).aspx[^]

and here in CodeProject Cookies in ASP.NET[^]

However, I suspect you might want to store a little more than is usual with a cookie, so you may find this useful too Implementing User Profiles in ASP.NET - A Beginner's Guide[^]


这篇关于如何使用代码vb.net将cookie存储为特定位置的文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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