Jump to content

Sesions and variables


kaki

Recommended Posts

Good morning.

I have read a lot about the topic of sessions. But I still can't understand some points. I list them

1. If the mainmodule is generated every time the user refreshes the page in their browser. How can I keep the value of a variable that contains a certain data such as the name of the user? .
2. how can I know which of the multiple sessions is the one that is active for a specific ip?

What is happening to me is that every time the user presses the back button in the browser, a new instance starts. Then I lose user account data.

I hope I have explained. Thanks in advance

Link to comment
Share on other sites

Hello,

1 hour ago, kaki said:

1. If the mainmodule is generated every time the user refreshes the page in their browser. How can I keep the value of a variable that contains a certain data such as the name of the user? .

\FMSoft\Framework\uniGUI\Demos\Desktop\LoginForm Cookies

 

1 hour ago, kaki said:

2. how can I know which of the multiple sessions is the one that is active for a specific ip?

\FMSoft\Framework\uniGUI\Demos\Desktop\Session List

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...