We are loosing session values using MS Visual Studio(WEB) .NET 2003 reason ?
114146
support.microsoft.com\nsearch the knowlege base.
880072
I agree with Mallik, but this will let you know a bit more !\n\nEach time you make changes, or more clearly each time when you access the JSP, the server will make changes in the corresponding \nservlet and is reloaded.(But beware of borwser cache, if you make changes and there is content at cache, then it 'll be displayed).\n\nTry the following to get a better understanding.\n\nfirst  create a jsp named one.jsp\ncall it in IE\nrename one.jsp to two.jsp\nrefresh the IE, you will still get one.jsp\n\nnow restart IE and try to access one.jsp, you'll get an error msg.\ni.e., each time the server searches for the file and proceses it and converts it to .java file(servlet).\n\ngood luck.
880089
if you know 2003, you should have the answer to this.  You have to post the form back to the same page (add a button with a method like btnSubmit_Click(object sender, EventArgs e).  Once this the page is posted back, you then need to create a database connection.\n\nYour SQL connection string should be saved in your web.config file.\n\nusing System.Data.SqlClient;\n\nSqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString);\nSqlCommand cmd = new SqlCommand("INSERT INTO TABLENAME (Column1, Column2, Column3) VALUES (" + "'" + txtColun1 + "'" + "," + "'" + txtColumn2 + "'" + "," + "'" + txtColumn3 + "'" + ")", con);\ntry\n{\n   cmd.ExecuteNonQuery();\n}\ncatch(SqlException e)\n{\n  string error = e.Message.ToString();\n}\nfinally\n{\n  con.close();\n}\n\nThe only change is that VS 2003 use to use:\nSqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["con"]);  This is now obsolete.\n\nSorry, I updated this because yahoo answers cut have my code off.
42644
Assuming that you are actually logging into Windows (even though there is a long delay) it could be one of several issues:\n\n1) You could have a lot of information in your User Profile.  You can right click on the "My Computer" icon on the desktop, go to "Properties" and then select the "Advanced" tab.  From there, click on "Settings" in the 'User Profiles' section.  This is information that is stored for your specific user log in.\n\n2) You can have a lot of applications and services (especially if you see a lot of icons in your system tray down on the bottom of the menu bar) that are trying to load and run.  These can slow down the time it takes to log in depending upon what they are doing.\n\n3) You may have a service which is taking some time to perform some action and logging several errors when your machine starts.  To see if this is the case, go to "Control Panel" then "Administrative Tools" and use the "Event Viewer" applet to check your event logs (specifically 'Application' and 'System' logs) to see if there are errors.  Note the times of the entries to see if any of them have a noticeable gap.  It might indicate that a service is taking some time to recover from an error.  If this is the case, you can use Microsoft's support site to try and troubleshoot the service or see if it is safe to disable it.\n\nMicrosoft's TechNet site link is below.
1161694
If you are doing .NET work, have you looked in the machine.config to see what your connection string(s) is(are)?\n\nTake a look at this example:\n\n  <connectionStrings>\n    <remove name="LocalSqlServer"/>\n    <add name="MyDatabase" connectionString="data source=sql2k503.datamain.net;Initial Catalog=SQL20005_DB;User ID=Meuser; Password=abcdef" providerName="System.Data.SqlClient" />\n  </connectionStrings\n\nHope this helps, or at least points you in the right direction.
1171534
Go to this site and put in that error #.\n\nRuntime Errors and others:\nhttp://support.microsoft.com/default.aspx?scid=kb;en-us;255058   \n\nGood Luck\n\nAlso, try going to "tools", "internet options"..."advanced".\n.."disable script bugging."....under "browsing"
679079
Try debugging the code behind file by setting a breakpoint at the Page_Load function. It almost sounds like its dying on somthing you have in your code behind file or a resource you are accessing in there.
30636
There are bunch of new controls to reduce line of code. like login functionality , impersonation , master pages etc. \nNo major change in the architecture of asp.net
154826
Try uninstalling and reinstalling your .NET framework and be sure to get the newest version of 1.1. You could also try version 2.0 but it is still in beta.
271336
Use a SSI (server side include)\n\n<!-- #Include File="file2.aspx" -->\n\nShould work for any web application that supports them including ASP .NET
342416
the session has expired!!!or the memory of you computer is alomost full...or theres virus...it can be any of this.
798179
Have a browser through your Windows "temp" folder. Unless you have specifically set you browser not to accept cookies from 3rd party sites, using cookies alone will NOT provide an accurate idea of what pages have been loaded
273417
Use session validation in the initilization. If session is not active direct them to login web page. \n\nDont forget to kill the session once the user is gone.
1037064
Use Viewstate \n\nin most of the cases, ASP.Net manages this task i.e. restore the state after post back
195466
http://technet.microsoft.com/en-us/default.aspx Type the error code in there.
917383
A corrupt cache could be the cause. Possible solution in the links below.
765584
That information should be kept on the server and not the local machine.  So it does not matter.  Just reinstall.\n\nHope this helps and GL :-)