Hello friends!!
Hope someone will fix this issue for me..
I am making a web page in PHP, in which users will enter into their login and do manupulations. After they click logout, the go to the logout page. Here, when they click the back button of the browser, they go to the previous page where they enter the data which should not be shown to anyone else. If this is the case, anyone can see the data that are encrypted and stored in the database. So, I just wanna know how to make the previous page unavailable to the user after logout. For example, after logging out from an email. I know that, it should be done with the cookies and sessions, but I dont know the modus operandi to do it. Please someone help me.
Thanks a million in advance,
Regards,
VJ
3 1884 Markus 6,050
Recognized Expert Expert
Hello friends!!
Hope someone will fix this issue for me..
I am making a web page in PHP, in which users will enter into their login and do manupulations. After they click logout, the go to the logout page. Here, when they click the back button of the browser, they go to the previous page where they enter the data which should not be shown to anyone else. If this is the case, anyone can see the data that are encrypted and stored in the database. So, I just wanna know how to make the previous page unavailable to the user after logout. For example, after logging out from an email. I know that, it should be done with the cookies and sessions, but I dont know the modus operandi to do it. Please someone help me.
Thanks a million in advance,
Regards,
VJ
T'is a hard one - for me anyway. From what i've seen when a user clicks the back button that page isn't refreshed it just goes to the state it was in when the user left that page. So considering you've deleted the cookies (or sessions) once the user attempts to do anything with that page it's going to cause the a page to reload and then catch that there isn't any cookies (or sessions).
I suspect one of the 'elders', as i like to call them, may have a fix.
Sorry,
pbmods 5,821
Recognized Expert Expert
Heya, VJ.
This is why a lot of sites say, "For your security, please close your browser window," after you log out. They haven't figured it out, either.
It has to do with the fact that browsers store downloaded data in their cache so that Users CAN use the back and forward buttons without having to send another request to the server.
For more information, check out this article.
Markus 6,050
Recognized Expert Expert
Heya, VJ.
This is why a lot of sites say, "For your security, please close your browser window," after you log out. They haven't figured it out, either.
It has to do with the fact that browsers store downloaded data in their cache so that Users CAN use the back and forward buttons without having to send another request to the server.
For more information, check out this article.
Yeh, what pbmods said.
We <3 you pbmods :D
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: CJM |
last post by:
I have a page which allows the user to open one of several spreadsheets by
streaming the XLS to the client.
On my development site, everything appears to work fine. On the live site,
it works...
|
by: Sandy.Pittendrigh |
last post by:
Here's a question I don't know the answer to:
I have a friend who makes very expensive, hand-made bamboo
flyrods. He's widely recognized (in the fishing industry) as one of
the 3-5 'best' rod...
|
by: Greg |
last post by:
Lately I am getting the message: Web Page Unavailable While Offline. The Web Page You Requested Is Not Available Offline. To view this page click connect.
This happens when I am not online. ...
|
by: ABC |
last post by:
How to I know the previous page is clicked to forward the current page?
As our web site have many methods to enter the web page, I need to know the
users clicked which link or which part of...
|
by: Ian Rastall |
last post by:
I do a site where I have a previous and next link at the bottom of
every page. It looks like:
<p><a href="foo01.html">Previous</a> | <a href="foo03.html">Next</a></p>
Seeing as they're always...
| |
by: DC |
last post by:
Hi,
there is a 500;13 page one can configure in the website properties, but
..Net Framework 1.1 also delivers the "server too busy" message
sometimes and the IIS custom error page does not seem...
|
by: Jeff |
last post by:
I need to place a "Previous Page" link on every page within my site and
a simple javascript:history.back() will not work because I need it to
capture the state of the page when I left it. For...
|
by: Andy |
last post by:
If I open, edit and save the web.config file directly on the
webserver, the
web server becomes unavailable. When I reset IIS, I get the 'Server
Application Unavailable' message appear for that...
|
by: rshivaraman |
last post by:
Hi All:
I need to make my database unavailable when i am loading the db. This
happens daily and the db is not connected to any online app, to make
the app unavailable. It is queried thru an...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |