مصدرك جيّدة من معلومة وأخبار حوالي [فيستا], نافذات [فيستا] و [بيوس] على الإنترنت

[فيستا] مواد أعلى 50 [سبور] حمى [فيستا] ليّنة [فيستا] مساعدة

يشكّل جلسة دولة عمليّة إعداد ل [أسب.نت] مع [إييس] 7.0


في التقصير تشكيل, يدير [إييس] جلسة دولة ل [أسب.نت] [إين موش ث سم وي] بما أنّ هو يدير جلسة دولة ل [أسب]. إلى ما بعد العمليّة إعداد أساسيّة, مهما, يتلقّى أنت [مني موش] خيارات. ل [أسب.نت] صفحات, يستعمل أنت ال [إنبل] جلسة دولة عمليّة إعداد من الصفحات وتحكمات يظهرون بما أنّ التحكم رئيسيّة أن يلتفت فوق أو من جلسة دولة إدارة أو أن يشكّل [إييس] أن يستعمل [رد-ونلي] جلسة دولة. أنت تستعمل الجلسة دولة سمة إلى نغم دقيقة كيف جلسة دولة إدارة يكون استعملت.

بتقصير, يبقي [إييس] جلسة دولة في عملية بما أنّ يتمّ [أسب]. كلّ [أسب.نت] تطبيق يشكّل على نادلتك يستطيع يتلقّى ه خاصّة جلسة دولة عمليّة إعداد. عندما قد نشّط أنت ال [أسب.نت] دولة خدمة ويشكّل هو أن يبدأ تلقائيّا, أنت يستطيع استعملت [أوت-وف-بروسسّ] جلسة دولة إدارة ل [أسب.نت]. [أوت-وف-بروسسّ] دولة يضمن إدارة أنّ جلسة دولة معلومة حفظت عندما تطبيق عاملة عملية أعدت. أنت يستطيع شكّلت [أوت-وف-بروسسّ] دولة إدارة أن يستعمل دولة نادلة أو مكروسوفت [سقل] نادلة قاعدة معطيات. قبل أن يشكّل أنت [سقل] نادلة لجلسة دولة, أنت ينبغي ركضت ال [إينستلّسقلستت.سقل] نص على النادلة. بتقصير, خزّنت هذا نص في [سستمرووت] \ [ميكروسفت.نت] \ هيكل \ [فرمووركفرسون], حيث [فرمووركفرسون] يكون الصيغة من ال [.نت] هيكل أنت يكون تستعمل, مثل [ف2.0.50727].

أنت تلتفت فوق أو من جلسة دولة إدارة أو يستعمل [رد-ونلي] جلسة دولة ب يتبع هذا [ستبس]:

1. أبحرت في [إييس] مديرة, إلى المستوى من التشكيل تدرج أنت تريد أن يدير, وبعد ذلك عرضت الصفحات وتحكمات صفحة ب [دووبل-كليكينغ] الصفحات وتحكمات سمة.

2. على الصفحات وتحكمات صفحة, ال [إنبل] جلسة دولة نص يبدي صندوق الحاليّة جلسة دولة. غيّرت [أس نسسّري], هذا عمليّة إعداد إلى زائفة أن يعجز جلسة دولة صيانة, يصحّ أن يمكّن جلسة دولة صيانة, أو [ردونلي] أن يستعمل [رد-ونلي] جلسة دولة.

3. في الأعمال لون, يطبّق طقطقة أن ينقذ عمليّت إعدادك.


ما إن أنت قد مكّنت [ردوريت] أو [ردونلي] جلسة دولة, أنت يستطيع استعملت العمليّة إعداد من الجلسة دولة سمة أن يجعل الجلسة دولة تشكيل. تبعت هذا [ستبس]:

1. أبحرت في [إييس] مديرة, إلى المستوى من التشكيل تدرج أنت تريد أن يدير, وبعد ذلك عرضت الجلسة دولة صفحة ب [دووبل-كليكينغ] الجلسة دولة سمة.

2. استعملت على الجلسة دولة أسلوب عمليّة إعداد إطار في اللوح رئيسيّة, الخيارات تالي أن يثبت الجلسة دولة أسلوب:

• لا يمكّن مختارة هذا خيار أن يعجز جلسة دولة.

• In Process Select this option to store session state data for a managed-code application in the worker process where the application runs. This is the default setting.

• Custom Select this option to configure IIS to use a custom provider to handle session state for ASP.NET applications.

• State Server Select this option to enable the ASP.NET State Service and store session state data outside the worker process where the application runs. The ASP.NET State Service stores the session state in an internal database by default or in a database of your choosing. You must start the service and configure it for automatic startup.

• SQL Server Select this option to configure IIS to use a SQL Server database to store session state data instead of storing it in the worker process where the application runs. The ASP.NET State Service stores the session state in the SQL Server database you designate. You must start the service and configure it for automatic startup.

3. With the State Server or SQL Server option, the Connection String text box sets the connection string that is used to connect to the state server or SQL Server. If you click the related selection drop-down list, you can choose a previously created connection string to use. If you click the related Create button, you create the required connection string by using the Create Connection String dialog box.

4. With the State Server or SQL Server option enabled, the related Time-Out text box sets the time, in seconds, that the connection will be maintained. The default for a state server is 10 seconds. The default for a server running SQL Server is 30 seconds.

5. With the SQL Server option enabled, you can select the Enable Custom Database check box to enable a custom SQL Server database for storing session state data.

6. On the Cookie Settings pane, in the Mode drop-down list, select the desired item to specify how cookies are used to store session state data. The items are:

• Auto Detect IIS uses cookies if the browser supports cookies and cookie support is enabled. Otherwise, IIS doesn't use cookies.

• Use Cookies Allows IIS to track the session state by using cookies. IIS passes the session state in cookies for all requests between a client browser and the Web server. Because cookies do not require redirection, cookies allow you to track session state more efficiently than any of the methods that do not use cookies. Using cookies also has several other advantages. Cookies allow users to bookmark Web pages, and they ensure that state is retained if a user leaves one site to visit another and then returns to the original site.

• Use Device Profile IIS uses cookies if the device profile supports cookies regardless of whether cookie support is enabled or disabled. The only time that IIS doesn't use cookies is when the device profile indicates that the browser doesn't support cookies.

• Use URI IIS inserts the session ID as a query string in the Uniform Resource Identifier (URI) request, and then the URI is redirected to the originally requested URL. Because the changed URI request is used for the duration of the session, no cookie is necessary.

7. Keep the following in mind when you are specifying how cookies are used to store session state data:

• When you use the Auto-Detect cookie, Use Device Profile, or Use URI modes, the Regenerate Expired Session ID check box is selected automatically. This ensures that IIS rejects and reissues session IDs that do not have active sessions. You should require that expired session IDs be regenerated because this ensures that IIS expires and regenerates tokens, which gives a potential attacker less time to capture a cookie and gain access to server content. If you want to disable session ID regeneration, as may be necessary when initially testing a new deployment in a development environment, clear this check box. Be sure to re-enable this feature later to enhance server security.

• When you use the Auto-Detect cookie, Use Cookies, or Use Device Profile modes, the entry in the Time-Out (In Minutes) text box sets the period of time that IIS maintains a session object after the last request associated with the object is made. The default time-out is 20 minutes. For a high-usage application in which you expect users to move quickly from page to page, you might want to set a fairly low time-out value, such as 5 or 10 minutes. On the other hand, if it's critical that the user's session is maintained to complete a transaction, you might want to set a long time-out value, such as 60 minutes.

• When you use the Auto-Detect cookie, Use Cookies, or Use Device Profile modes, the Name text box sets a name for the cookie. The default is ASP.NET_SessionId. To enhance security, you may want to change this value to a name that isn't as readily identifiable as the session ID.

• The Use Hosting Identity For Impersonation option enables Windows authentication for remote connections using the host process identity. Typically, this is the setting you want to use to ensure that IIS can read and write session state data.

8. In the Actions pane, click Apply to save your settings.

Source of Information : Microsoft Press Internet Information Services IIS.7.0 Administrators Pocket Consultant
Popularity: 1%


Written by magakos. Read more great feeds at is source WEBSITE
1 comment.
Read more articles on IIS 7.0 and otherSoftware.

Related articles

1 comment

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com Prakash
#1. November 19th, 2008, at 12:57 PM.

Our ASP 3.0 application is running in the Windows 2003. Recently we removed the Session object from application code and the user’s sessions are maintained in the SQL Server 2005. The application is not starting properly after the server reboot. We have to roll the global.asa file ever time to up the application. Please provide solution for this issue.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .