I have the following request: I have a website with 2 fields
1) Public - The session is dynamically set for the code (during the page request processing) for 10 minutes. 2) Private session is dynamically set to code for one hour (during page request processing)
My problem is that I have 2 environments that are different Work:
- Development environment - Reacts as expected (defined by the definition of public and private sectors which are defined by the code).
- Production environment - Time of 15 (or 20) minute session in all areas (time depends on which I define the environment).
Due to the description, I understand that the code itself is not necessary.
Now, the only difference between the environment is that there is SSL encryption in production.
What do I need to make both the environment work the same? thank you in advanced.
Check settings only in IIS I believe the default is 20 minutes, which can tell You see what you are looking for.
Open the IIS Manager and go to the level that you want to manage, see Open IIS Manager (IIS 7) for information on opening an IIS manager. For information about navigating locations in the UI, see Navigation in IIS Manager (IIS 7).
Double-click on the ASP in the features.
On the ASP page, under service, extend the session properties.
In the time-out field, enter the time-out value in the format. Hh: mm: ss For example, enter 15:15 for 15 minutes.
In the action pane, click Apply. From
:
Comments
Post a Comment