Last post May 15, 2012 07:28 PM by hans_v
May 15, 2012 06:24 AM|prashant.singh243|LINK
In my web application session value gets lost frequently, even within 5 minutes. I tried to increse session time in web.config using following code;
<sessionState mode="InProc" cookieless="false" timeout="50"></sessionState>
But it didn't hepl me.
May 15, 2012 06:37 AM|ziaulrahman|LINK
the procedure is as below.
Change the following time-outs in Internet Services Manager .Choose a value greater than the default of 20.
1. Select Default Web Site > Properties > Home Directory >
Application Settings > Configuration > Options.
2. Enable the session state time-out and set the Session timeout for 60 minutes.
3. Select Application Pools > DefaultAppPool > Properties.
4. From the Performance tab under Idle timeout, set Shutdown worker processes after being idle for a value higher than 20.
The default session time-out setting on IIS is 20 minutes but it can be increased to a maximum of 24 hours or 1440 minutes. See Microsoft article
Q233477 for details about increasing the timeout in IIS.
When returning to the logon page for Web Interface, users often encounter an Error: Your session with the web-server expired. You have been logged out.
Web Interface 2.0 picks up the session timeout setting from IIS.
1. Start Internet Services Manager 5.0.
2. For explicit authentication, right-click the /Citrix/MetaFrameXP/default virtual directory and view the
For desktop credentials, pass-through users edit the /Citrix/MetaFrameXP/integrated virtual directory.
For Smart Card users, edit the /Citrix/MetaFrameXP/certificate virtual directory.
3. In the Application Settings section, click Configuration.
4. Select the App Options tab.
5. Ensure Enable session state is selected.
NFuse Classic 1.71 and earlier
When Internet Explorer is configured never to check for newer versions of Web pages, NFuse Classic will not launch an application after a session is allowed to expire. To reproduce this problem:
1. Configure your browser settings for 'Temporary Internet files and set Check for newer versions of stored pages to Never.
2. Log on to Citrix NFuse Classic and view your published applications.
3. Leave the system idle for 20 minutes or longer so that the Web server session expires.
4. Click an application icon. The system returns you to the Logon page and a message appears stating that your session expired.
5. Log on again and click the same application as before. You are again returned to the Logon page even though your session should not have expired this time.
• Clear the Temporary Internet Items folder
• Upgrade to Web Interface 2.0 or later
• Set Check for Newer versions of stored pages to Automatically
This error is caused by the expiration of a Web server session, not a MetaFrame ICA session. Web servers maintain session state for a fixed time period to preserve Web server resources and as a security precaution. The default setting for IIS is 20
minutes. Do not remove this timeout. However, the timeout can be modified in the following ways (assuming your Web server is Microsoft IIS):
1. Open Internet Services Manager.
2. From the Web site Properties, click the Home Directory tab, then click the
Configuration... button in the Application Settings section.
3. On the configuration panel, click the App Options tab and set the session timeout there.
4. In NFuse 1.6, add this line to the end of redirect.asp:
<% Session.Timeout = 20%>
where 20 is the number of minutes after which an idle session will time out.
Increasing this value improves usability, preventing users from having to enter their credentials too frequently.
Decreasing this value improves security; if a user leaves his desk unattended with the NFuse application list showing, other users can launch applications using the account. The session time out acts as an idle time out and prevents this type of abuse.
May 15, 2012 07:28 PM|hans_v|LINK
In my web application session value gets lost frequently, even within 5 minutes
Most likely, your application pool recycles frequently, which will cause all Sessions to be loset when using SessionState mode OnProc. You can overcome this by changing to another SessionState mode, saving the Session in a Database instead of in Memory
There can be many reasons why the application pool recycles
When you're using a shared hosting provider, it's very common that your application pool recycles frequently....