Session variable value getting refreshed

Hi,

Session variable value is getting refreshed or holding previous value onclick of back button in browser,only in mozilla firefox it is happening like this but it is working fine in chrome.please can anyone suggest something.

Thanks,

Ronan T.

First of all, no need to make 2 topics -> https://www.outsystems.com/forums/discussion/44956/session-variable-is-getting-refresh/

Second, this might be a specific setting in your firefox browser, firefox has several options on how long to keep cookies. (A session variable is a sort of cookie). Or perhaps you are setting the session variable on each page load? 

Joey Moree wrote:

First of all, no need to make 2 topics -> https://www.outsystems.com/forums/discussion/44956/session-variable-is-getting-refresh/

Second, this might be a specific setting in your firefox browser, firefox has several options on how long to keep cookies. (A session variable is a sort of cookie). Or perhaps you are setting the session variable on each page load? 

Hi,

But it is working fine in chrome.. and i have set time for cookies keep until the page expires.


Hi Ronan,

Did you already try with other browser? (Edge, Opera,...) If the problem it's just with Firefox, probably you need to verify Firefox definitions to adjust it to your needs. 


Regards,

Ricardo

(from the duplicate topic, which had a slighlty different wording, so not everything applies to the question above:)

Hi Ronan,

When you say "refreshed", do you mean it's reset or changed? What does a URL have to do with it? Note that Session Variables live Server-side, so the browser shouldn't be an issue.

Also note that if you display the same app, with the same login, in two seperate browsers (e.g. Chrome and Firefox), you have two different sessions, each with their own set of Session Variables.