242
Views
4
Comments
Session variable value getting refreshed
Question

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.

2017-12-13 08-27-28
Joey Moree

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? 

UserImage.jpg
Ronan T

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.


2021-03-05 13-56-11
Ricardo Pereira
 
MVP

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

(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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.