473,888 Members | 1,407 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 1904
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
3626
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
6102
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
1618
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
1740
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
2874
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
5084
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
1830
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
1928
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
2173
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
9961
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
9800
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
11185
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...
1
10887
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10439
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...
1
7990
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
7148
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();...
2
4247
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3252
bsmnconsultancy
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.