Better way of handling logout on tab close but not on refresh?
I have a js code that logs out only on tab close, using sessionStorage, but it was not as smooth as I would like
Storing my API Keys in a PHP file inside of my “public_html” Hostgator folder for my website: Is this secure? Or can prying eyes access its contents?
I know the conventional wisdom is, never store API keys in the frontend — instead always store this on the server-side. My programming / web development up to this point has all been pretty simple stuff, to the degree that I’ve never really needed to use secret API keys or info like this that needs to be hidden. Everything has basically just been HTML / CSS / JS.
Phone pe reverse payment? [closed]
Closed 1 min ago.
Keep session active without logging out automatically
I intend to keep my session active without ending for 24 hours. On a computer or on a cell phone with the screen on, it works, but if you lock the screen after two minutes, the session ends. I will post my code:
how to get dropdown values from append function
I have a function that I am using to append data elements from one dropdown option to another
The function is working properly. What I am looking for is to get the values of the second dropdown option which is an array
how to get dropdown values from append function
I have a function that I am using to append data elements from one dropdown option to another
The function is working properly. What I am looking for is to get the values of the second dropdown option which is an array
CORS header issues when React requests from the API, but not when accessed in a web browser directly
I am working on creating a bulletin board system with PHP backend as an API and React for the frontend that makes requests to the PHP API for data.
Automatically assign user in custom app and wordpress at the same time?
I have an app on domain.tld and I use wordpress to manage people to
subscribe and purchase the app. I would like to have the users login to
the app and wordpress automatically. I am using wishlist member to handle
registed users on wordpress.
how to display data inside the alert box
I tried to enter a simple text word it appears then suddenly when I put the php inside the alert box it didn't show the data.
how to continue array numbers in javascript whose data is displayed with a php loop
I have a phone number table in the database like this