Skyline Installation

Users need to Log in if they Browse to a New Page

Users need to Log in if they Browse to a New Page

Previous topic Next topic  

Users need to Log in if they Browse to a New Page

Previous topic Next topic JavaScript is required for the print function  

Skyline makes use of cookies to store the user’s Session ID. This is a unique ID generated every time a user logs in. It keeps the user logged in to the website when changing to another page. Using Session ID’s is common practice as without the Session ID, the website will ask the user to log in every time they browse to a new page. If the user’s browser is set not to accept cookies, then the Session ID could be visible in the browser’s address bar as a very long series of random characters, e.g.:

http://www.website.com/(X(1)F(5lBh5bs1zp6bH5s0BLRwYThLRMlbE1oZpTpcw_TDYwGOKDub3n6E2pe8oWcvJ_q3E6IxUPyp7_jlQAfx43kuv9L6noAjlBsblSu926AJqmBKeACaEns4p2dkh06qpmQRcfM_M6TBS2iuCe9Tx3HYD2j6NcyUjJ377jlrAvB9ovZoqOfYu6scp4sdyCbLa0))/

To fix the problem for an individual using Microsoft Internet Explorer:

1.From the Tools drop down menu select Internet Options.
2.Click the Privacy tab.
3.Click the Advanced button.
4.Select the option Always allow session cookies.
AllowSessionCookies-IE

To fix the problem for an individual using Firefox:

1.From the Tools drop down menu select Options.The Firefox about preferences window opens.
2.View the Privacy window.
3.Select the history option that Firefox will Remember History.
AllowCookied-FireFox

 

To fix the problem for an individual using Chrome:

1.From Chrome click the button to Customise and control Google Chrome and select the option Settings. The Chrome Settings window opens.
CustomiseChrome
2.Click Show advanced settings. The Privacy section will open.
3.Click Content Settings.
4.In the Cookies section select Allow local data to be set (recommended).

 

To fix the problem for an individual using Chrome:

1.In the Preferences section select Privacy.
2.Choose the option to never block cookies (to enable them).
 

If all users have to log in when browsing to another page

If all users are asked to log back in when they browsed to another page the IIS setting on the web browser need to be checked.

To check that IIS is setup correctly on the web server:

1.On your Skyline server open Internet Information Services (IIS) Manager.
2.Open the Session State.
Icon-SessionState
3.The Session State options are shown.
SessionState
1.Check that the Session State Mode Settings In Process is selected.
2.Check that the Cookie Settings Mode is set to Use Cookies and that the Cookies Settings Name is set to ASP.NET_SessionId.

If the Session State options were correct then the web.config file needs to be checked.

To check the web.config file:

1.Log in to the Skyline server as a local administrator. Locate the web.config file and make a copy before you make any changes.
The web.config file is found in the root directory of Skyline (C:\Skyline\wwwroot) by default.
2.Open the web.config file in notepad. Double click the file will usually open it.
3.Locate the section starting:
<authentication mode="Forms">
<forms loginUrl="Log in.aspx" defaultUrl="~/" cookieless="AutoDetect" slidingExpiration="true" timeout="43200"/>
</authentication>
 
WebConfig-BrowserCheck
4.Check that the value for cookieless=”AutoDetect” . This is the default value and should allow the browser to accept cookies. If this setting is correct, but cookies are still not being used, try setting cookieless=”UseCookies".