Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.NullReferenceException: Object reference not set to an instance of an object.

Status
Not open for further replies.

baran121

Programmer
Sep 8, 2005
337
0
0
TR
Hi Everybody,​
We Have web site which has SQL query. if user waits about 30 minutes,web page doesnt work. There is a picture link​

Please Help Me​
 
You're probably storing some information in a Session variable and after a period of inactivity, the session expired and is no longer available. Without seeing the code, it's hard to tell...


Mark

"You guys pair up in groups of three, then line up in a circle."
- Bill Peterson, a Florida State football coach
 
As stated by Mark, most likely your session is timing out. The default session timeout is 20 minutes.
You will have to debug and test this theory.

However, I strongly suggest that you do not have a query that runs that long. No one will want to wait for a page to load that long
Either fix the query(optimize it) so that is runs much faster, if possible. If not change what data is displayed at a high level, and give the user a way to drill into details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top