PHP SESSION dies on iPad when plugged into power. Chrome App [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I have a PHP mySQL site that uses SESSIONS. the users work on Forms for sometimes multiple hours. We have no issues with session timeouts, but I am receiving complaints that when they plug the iPad in during one of their form inputs, it kills the session and they have to log back in, loosing all of the data input. I am at a loss on this one. AJAX isn't an option at this time.
Any ideas on what to check?

Related

Data to be inserted in online database of a Website when there is no internet [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am working on an ERP System(Website) developed in php(Laravel).The requirement which i need to implement is that when ever there is no internet but if a user wants to submit data,he/she could do that and when internet comes and website start working.i want that offline data to be retrieved.
Happy Coding!
This maybe sound like a workaround. But you could do that by using localStorage of your browser. if you choose this path you have to check periodically whether the internet is available in the client machine. And also check the localstorage to look for data to submit. Of course you'll have to use javascript to check what i'm suggesting

How can i create a page that tailors personal info to the user [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
After hours of trial and error, using WAMP i made a login system that mails me locally ( password recovery etc). I want to make pages that only the user has information tailored to the user, think of it as a profile page Facebook or Twitter, the news updates.
You can use sessions. In php you can type session_start(), then you can store some information about the user. So if the user don't have a session he can't access the page. Search about session_start(). You will find many examples about it.

How To Prevent Reload in a PHP page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can I prevent a user from actions like: accessing page from reloading, double clicking and multiple windows.
Several bank websites blocked users from reloading and multiple window opening, like for example: icicibank.com or onlinesbi.com.
Long answert short: you can't.
The browser isn't yours, it's the users. Don't tell him what to do.
What you can do, is punishing them when they do so. Like, showing him a javascript popup asking him not to, and prevent the page to show again if he refreshes, using a token for instance.

Showing posted data on another website in real time [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How i show data postet in another website to mysql database, in real time on main page of website using PHP and that any new data is displayed in a new line.
Datas that i need show are: name, and finish time (from race).
Use .setTimeout() JS method on main page of website and do jQuery.ajax() requests to your server to update data.

Live dummy data for web application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am designing a live demo version of a software I wrote. The database is modeled using MySQL, and comes with dummy data ready to use. What I would like to do is to have it generated the time a user signs in to try the demo, and have it be removed after he/she logs off or closes the system. What would be the best approach to solve such problem?
when a user login you can open a transaction in the database and never do the commit, then when he log out you just do a rollback or wait for database session expires.
This solution is easy to implement and the changes will be not visible for other users.
http://dev.mysql.com/doc/refman/5.6/en/commit.html

Categories