How To Increase The Session Time In Web.config
Jan 31, 2010I am using session in my project,Be default session time is 20 minutes. How to increase the session time in web.config!!!!!1
View 3 RepliesI am using session in my project,Be default session time is 20 minutes. How to increase the session time in web.config!!!!!1
View 3 RepliesWhere to increase session time? IIS or web.config of app?
View 2 RepliesWhere to increase session time? IIS or web.config of app?
View 4 RepliesI developed some pages where all the population are happen with the javascript only. So there is nothing with the server side. So the problem is though I am doing some application in that page but as the session is time out the page is going to log off page.
My question is , is there any method to increase the session time using javascript or AJAx so that any task is perform in that page then it wil add some time time with the existing time?
how do i increase the session time ?
View 4 RepliesSession gets time out frequently although i set timout time in web.config
View 4 RepliesI have a asp.net website where I am facing session timout issue. In web.config I have set session timeout=480 (8 hours as session time). But even then session do not stays that longer, session time goes out after some minutes. Kindly guide me why it is ? and how I can fix it. My site is hosted on a shared hosting server.
View 3 RepliesI am trying to fetch data like Amazon or other sites. The process take time (about one or more hours) to fetch data. But in between the browser get off saying 'Page can not be displayed' in IE and other error in FF and all UI got lost. How to increase browser time to complete the task successfully.
View 1 RepliesI have created one web application for uploading the document. Once the document is uploaded to the web server, i am processing the document for some information and displaying the result back to the web page. Document takes more than 15min to upload and processing takes 30min. After 16min, i am getting error such that there is no response from server. Is there any way we can extent our execution time?
i tried by using <httpRunTime executionTime="10000". Still i am getting this error
How can we extend Response time?
How to increase the execution time?
View 11 RepliesI used this following code to set authenticate cookie :
System.Web.Security.FormsAuthentication.SetAuthCookie(Profile.Email, true);
my question is how I can increase life-time for this authentication cookie ?
I need the increase the session timings in online publish server using web.config , which is the maximum limi of session timings
View 1 Repliesfor Business needs i am planning to increase the session timeout to 2 hours(120 min) in one application, i am using sql server session state. if i increase to 2 hours of session time out, how it will effect the performance of application and web server.
View 6 RepliesMy asp site make user log out automatically in 10 minutes how can i increase the time.
View 1 RepliesIn my webconfig i put
<system.web>
<sessionState timeout="60"/> doesn't work for me
Also i changed in IIS configration Manager as well from 20 minutes to 60 minutes, but still it expire after 20 minutes of no actiuvity.
I'm facing a great problem in session. My session expires after every 4-5 minutes. Firstly I checked my web hosting settings. I increased session timeout to 50000. In my web.config I wrote :
[Code]....
Also Locally it expires withing 5 minutes. Secondly can I also increase idle timeout.
i am working on my master site, and i want to add an image that increases its lenght as the website's length increases...
but im not sure how to do that, i know it's possible because i've seen it done on banners, but im not completely sure how to do it.
<sessionState mode="InProc" timeout="300"></sessionState>
is my session related tag in web.config file but most of the time if i idle 20 minutes then its automatically timedout and went to my login page, is there any solution ?
I need to set my logged in time in web.config but I do not know how? I get logged out after a while if I do no do anything in the website but I wanna be logged in for 120 minutes.
View 3 RepliesI'd like to know if there is an automated method to add e-mail settings to web.config.
There is already an e-mail set, and it's currently like this:
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="0.0.0.0" port="25" userName="whatever@whatever.com.br" password="stackoverflow" />
</smtp>
</mailSettings>
</system.net>
So what I want is:
1 - How do I add a new e-mail in there set by textboxes in the webform ?
2 - How do I differentiate which one I want to gather at the time ? could you give me a simple C# example on how to get the configs in one of the two ?
I am working on a web application which has 3 kinds of users.
To avoid multiple login of the same user I have used a signin column in the table which will become 1 after signin and 0 after signout. I have used session state to signout the user if he closes the browser window without signing out.
<system.web>
<sessionState mode="InProc" timeout="15" cookieName="student"/>
Global.asax :
void Session_End(object sender, EventArgs e)
{
int sid = Convert.ToInt32(Session["student"]);
candidate.signoutUser(sid);
}
But there are three kinds of users. I am not able to add multiple sessionState. Is there a way to solve this problem?
what should i write in web config file in asp.net so that my session time is extended. the exact location where should i place the code in web config
View 6 RepliesI thought about saving all sessions variables to hiddens and then resaving those values back into session after I changed the web config..but there has GOT to be another way.
View 1 RepliesIf I change (and upload) the web.config of an ASP.NET site, do existing users surfing the site lose their sessions?
Also, does the IIS server need to be reset?
I have a web site that publish to the production site after I make changes. I do this from VS 2008, by clicking Build, then Publish Web Site. How can I do the publish without uploading the web.config file each time? I do not want to update the web.config each time because I use a different database for my testing here locally.
View 13 Replies