从DB中调用.net Web应用程序中的数据检索 [英] Reg data retrieval in .net web application from DB

查看:91
本文介绍了从DB中调用.net Web应用程序中的数据检索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web应用程序,其中包含文本框,如果我提供一些输入,它将在DB中搜索并显示结果。但是,如果我保持该Web应用程序打开几分钟并保持空闲状态,那么如果我在文本框中输入一些输入,则不会从DB中检索值。相反,它显示我在代码中配置为无数据可用的错误消息。任何人都可以帮我这个??? ???

Hi, I am having a web application where it consists of text box in which if i give some inputs it will search in DB and display the result. But if i keep that web application opened for few minutes and am remaining in idle, then if i give some input in text box it is not retrieving the values from DB. Instead it is showing the error message which I have configured in code as "No data available". Can anyone help me on this pls???

推荐答案

问题是你的会话已经过期了。在会话过期的所有这些情况下,我们通常会强制用户切换到登录页面。您必须进行会话管理才能解决此问题。
The problem is your session has expired. In all such cases when session gets expired we usually force user to switch to login page. You have to do session management to fix this issue.


这篇关于从DB中调用.net Web应用程序中的数据检索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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