Start Your Own Website Web Pages

start your own website web pages
start your own website web pages
Please help me on ASP. NET 2.0 session variables …?

Hello, and thank you for your attention to my question. I developed a site using. NET Framework 2.0 and put it in a free hosting package www.somee.com. I use a session variable has values Boolean. I defined this period you session OnStart event in Global.asax. Session.Add ["myvar", false], and I put this session variable in another part of my process. But when I refresh the page receiving the value of the session variable, after several attempts the variable session loses its value and I think the starting point. I do not change the value of this variable in all rise to false in my application. And I must mention that I have not face this problem while I was debugging the site on your own PC (localhost). Is there a set of blocks that I set or modify Web.Config, if it is, and if not, what can I do? Achieve Babax.

Variables only 20 last session with the default settings. You can adjust the display settings in the Web.config file on the server that hosts the possible configurations that invalidate this or not enough memory allocated / Available in support. You may be able to achieve what you need through a browser cookie or maintenance information in a database.

How to create your own web site Pt.1

Tags: , , ,

Other Related posts

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
*