找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 8354|回复: 1

修改StoreFront登录超时(timeout)

[复制链接]

238

主题

329

帖子

2119

积分

超级版主

Rank: 8Rank: 8

积分
2119
QQ
发表于 2015-2-28 11:32:18 | 显示全部楼层 |阅读模式
请检查一下这篇博客提到的参数,另外如果使用NS,请同时配置NS的timeout设置:

网上有建议,时间修改为12小时

Increasing Citrix StoreFront 1.2 Session TimeoutsI got a request the other day to increase the session timeout for our CloudGateway environment. A lot of people are just lugging around tablets with them rather than laptops and are primarily using CloudGateway to facilitate the use of any Windows or SaaS apps they might need to access. One thing that has turned out to be inconvenient for them is having to log back in every hour. Our company is small and tight knit as well as full of people who are pretty proficient when it comes to technology, so we decided to just dial it up to the point where they would only have to log in once per day. Here's how that's done:

First, you need to log onto the storefront server and make the following modifications:

C:\inetpub\wwwroot\Citrix\YourStoreNameWeb\web.config

Modify this element:
<authentication tokenLifeTime="8:00:00" method="Auto" />

Obviously if your timeout is going to be less than 8 hours, no need to make any changes. In my environment I changed it to 12:00:00.

also, modify this element:

<sessionState timeout="20" />
This one is in minutes, so for my purposes I changed it to "720".

Next:

C:\inetpub\wwwroot\Citrix\Authentication\web.config

Change all maxLifetime="" attributes to the duration you desire. There are 3 elements that have the attribute defaulted to 1:00:00 and one that has it defaulted to 20:00:00. In my environment I changed all 1:00:00 values to 12:00:00.

Once this is all done, you need to open up a command prompt and run iisresetin order to get IIS to reread the web.config files. This will take down storefront for a little while, and reset all current user sessions, so you have been warned.

Lastly, if you are using a NetScaler, you will need to change the Global Session Timeout located at Access Gateway => Global Settings => Change Global Settings => Client Experience => Session Time-out (mins). I changed mine to 720, there is a screenshot below for you to reference:




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表