Where did you set the timeout? web.config or IIS management console? Set it in web.config if for an ASP.NET app. Also, you may have to set the app pool idle timeout to 9 hrs if using IIS 6.
Mark replies as answers if they helped you solve the problem.
Mehdi Entezary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
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.
Symptom
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.
Cause
Web Interface 2.0 picks up the session timeout setting from IIS.
Resolution
1. Start Internet Services Manager 5.0.
2. For explicit authentication, right-click the /Citrix/MetaFrameXP/default virtual directory and view the
Properties.
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.
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.
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.
Solutions
• Clear the Temporary Internet Items folder
• Upgrade to Web Interface 2.0 or later
• Set Check for Newer versions of stored pages to Automatically
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.
NFuse 1.6
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.
It's already been posted how to increase it, but may I ask why that long? In my opinion, any data that needs to be stored for more than 30 minutes should go into a cookie, or if space is a concern a database or xml entry should be created.
Swati Jain
Participant
1353 Points
749 Posts
How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 11:06 AM|LINK
Hello All,
I tried to increase the session timeout to 8 to 9hrs(means 8*60) but still timeout occurs earlier
Whats the other way to increase the timeout?
kalyan1982
Contributor
2187 Points
375 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 11:28 AM|LINK
Hi there,
That needs to be done at the IIS level on the hosting server.
(Web Developer)
Email: kalyandotnetdeveloper@gmail.com
siva_sm
Star
9409 Points
1375 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 11:31 AM|LINK
Where did you set the timeout? web.config or IIS management console? Set it in web.config if for an ASP.NET app. Also, you may have to set the app pool idle timeout to 9 hrs if using IIS 6.
Mehdi6002
Member
420 Points
106 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 11:34 AM|LINK
Include this in you web.config file:
<system.web>
<sessionState timeout="540"/>
...
Hope this would help.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
kalyan1982
Contributor
2187 Points
375 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 11:36 AM|LINK
Hi,
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.
Symptom
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.
Cause
Web Interface 2.0 picks up the session timeout setting from IIS.
Resolution
1. Start Internet Services Manager 5.0.
2. For explicit authentication, right-click the /Citrix/MetaFrameXP/default virtual directory and view the Properties.
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.
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.
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.
Solutions
• Clear the Temporary Internet Items folder
• Upgrade to Web Interface 2.0 or later
• Set Check for Newer versions of stored pages to Automatically
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.
NFuse 1.6
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.
(Web Developer)
Email: kalyandotnetdeveloper@gmail.com
itsumapathyk
Participant
1550 Points
358 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 12:03 PM|LINK
Hope your problem must have been solved by kalyan's posting.
I think it may solve ur problem.
www.CodeCollege.NET,www.interviewsguru.com,The Encyclopedia of Sites ,www.thekumbakonam.com
all2neat
Member
317 Points
96 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 01, 2008 09:07 PM|LINK
It's already been posted how to increase it, but may I ask why that long? In my opinion, any data that needs to be stored for more than 30 minutes should go into a cookie, or if space is a concern a database or xml entry should be created.
cookie SessionState session variable
Swati Jain
Participant
1353 Points
749 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 02, 2008 11:38 AM|LINK
thanks guys
my problem has been solved by kalyan's post
but to save the server memory if i tried to use the cookies..i get into the same loop
manwithbrave...
Member
112 Points
29 Posts
Re: How to increase session timeout to 8 to 9hrs?
Jul 02, 2008 01:14 PM|LINK
use sessiontimeout="15"
fixed number of minutes and after that this session will dynamically removed from server
aturgarg
Member
4 Points
2 Posts
Re: How to increase session timeout to 8 to 9hrs?
Mar 02, 2009 10:04 AM|LINK
Thanks,
the info you provided here helped me to solve the problem. It works :)