cancel
Showing results for 
Search instead for 
Did you mean: 

Session issue in Firefox - MII Application

senthil_kumar44
Participant
0 Kudos

Hi,

I have an issue in using MII application in Firefox 38.3. We are running one monitoring application in Firefox. If the user logged in and enter the inputs and click submit button, it will display the results in SAPUI5 Bullet chart. There will be no user interaction after it. In page, for every 5 minutes, automatic data refresh / data call to query templates will happen and it will show the updated the data in chart.

The issue is it is working without any issue in Google Chrome and IE. But in Firefox after some 48 - 50 hours, it is not updating the data. We found error in console that from query after 48 to 50 hours, instead of data, it is receiving HTML code of Logout page as output from MII server and error message as

"An unexpected problem has occurred. Please contact your system administrator and show them this message."

and "JSON.parse: unexpected character at line 1 and column 1 of JSON data". Here JSON data is HTML code of logout page.

To see data, we need to refresh and login again.

But we need to run the application without re-login. This issue is happening only in Firefox.

Can you please tell how to fix this issue?

Thanks,

Senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

With the default parameters, the MII session for a logged in user expires after 1h (60 min). There is also a default setting at the NetWeaver Portal level, which will log out users after 27.77 hours no matter how long the MII setting is set up. If a longer time is required, one can modify  the parameter "SessionExpirationPeriod". IMHO 48 to 50 hrs looks the same as 27.77 hrs Do understand, that these sessions need to expire at some point.

This parameter is in the timeout value in milliseconds. In order to modify it there (the BASIS team will know), follow the steps below:

1. Open Visual Admin.

2. Select the Tab Global Configuration.

3. Select the Server Entry.

4. Select Services

5. Select Security Provider

6. Update the Parameter "SessionExpirationPeriod" and click update. Don't forget to click on the save button.

7. Restart the NW instance.


A working session might be lost also when a user's Internet browser preferences have been set to prohibit the reloading (and refreshing) of Web pages that have been previously visited and stored in its cache. If the browser prohibits the reload/refresh then session ID of web page will not be updated and it expires. For example, in IE do the following settings: Tools > Internet Options > Select the radio button 'Every visit to the page' or radio button 'Automatically' under the heading 'Check for newer versions of stored pages' After doing above settings close the browser window and re-start. Make sure that 'Never' radio button is not selected under the heading 'Check for newer versions of stored pages'.

Firefox might have the same type of settings, but unfortunately I don't use that browser.

senthil_kumar44
Participant
0 Kudos

Hi Paul,

Thanks for the details. But we found these are the values in server.

in this apart from SessionExpirationPeriod variable, ServiceStartupLockTimeLimit has values. But is this in seconds or milliseconds? If it is seconds, then it is coming close to 50 hours.

Thanks,

Senthil

senthil_kumar44
Participant
0 Kudos

Hi Paul,

Thanks for the details. Based on this, we modified the value. Now it is working fine.

Thanks,

Senthil

Answers (0)