使用会话和global.asax的登录页面 [英] Login page using session and global.asax

查看:101
本文介绍了使用会话和global.asax的登录页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用Visual Studio 2005作为前端并使用Microsoft sql作为后端来创建网站.

我已经创建了存储过程,以从表中获取是否为cjk有效用户的数据.

现在,我想使用global.asax创建会话.
那我该怎么办.
请提供详细信息.

Hi to all,

I m creating a website using visual studio 2005 as front-end and Microsoft sql as back-end.

I have created stored procedure to fetch data from table for cjk valid user or not.

Now i want to create session using global.asax.
SO how can i do it.
Please reply with full detail.

推荐答案

您要使用Global.asax创建会话是什么意思?

请阅读Global.asax的用途:
Global.asax文件 [
What do you mean you want to create session using Global.asax?

Please read what Global.asax is for:
Global.asax File[^]

For login, you need to take input about user from UI and pass it on to your backend. Get the response.
If response is positive such that login was successful then store the response in a session for other uses and login into home page.
If response is negative show appropriate message.

Please buy books in order to learn and understand how .Net works.


这篇关于使用会话和global.asax的登录页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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