473,725 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to make the previous page unavailable to the users

vijcbe
16 New Member
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
Oct 14 '07 #1
3 1895
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,
Oct 14 '07 #2
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.
Oct 14 '07 #3
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
Oct 14 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
3621
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 fine for the vast majority of users, but not for my colleague & I. When this page is called with the correct inputs, the standard Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the following details:
67
6036
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 makers in the world. He gets (sic) close to $5000 per custom made flyrod. A surprising number of people buy these fishing rods and never use them....they buy them as art-like investments. He is, after all, the best there is. But if you search on...
3
1612
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. Any good ideas on how to fix this problem?
2
1735
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 page to enter the web page.
24
2854
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 in sequential order, is there a way to automagically go to the previous file or the next file using JS? Ian --
7
5074
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 to catch that. How would I customize the error page then? Regards DC
1
1822
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 example, if I have a page with some date controls so I can choose a date range and postback the page. It then displays results based on that date range. When I leave the page for another page, I would like to have the Previous Page link take them...
4
1922
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 web site. The change being made was minor, and worked locally. Restarting IIS or the server has no affect. Deleting the Temporary ASP.NET files has no effect.
1
2167
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 Access and hence available all the time. The load happens daily for an hour in the morning. Is there anyway to make it inaccessible to users while loading data and then make it accessible
0
8886
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8751
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9108
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8093
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6010
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4781
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.