Hi,
After the user is signed out and taken to the login page, they can still use
the back & history features in the browser to access pages. Every page
(except login) has a check at the beginning to redirect the user after being
logged out, but when the page is accessed via back button, the debugger
doesn't stop at that code b/c the page is cached and is not generated at the
server.
How can I make these pages disappear from the history?
Thank you in advance,
Richard 1 1576
Hi Richard,
you have to turn off caching of your web pages on client browser. Put
following directive <%@ OutputCache Location="None" VaryByParam="No ne" %to
each page you are securing by authentication so when client press back button
it will force browser to request the page from server and to load it from
cache.
You can also make caching profile in your web.config file and load profile
in your pages, your settings will be centralized.
<system.web>
<outputCacheSet tings>
<outputCachePro files>
<add name="myProfile " location="None" VaryByParam="No ne" />
</outputCacheProf iles>
</outputCacheSett ings>
</system.web>
Each page will refernce your profile by adding this directive:
<%@ OutputCache CacheProfile="m yProfile" />
Best regards,
Ladislav
<
Regards,
Ladislav
"Richard" wrote:
Hi,
After the user is signed out and taken to the login page, they can still use
the back & history features in the browser to access pages. Every page
(except login) has a check at the beginning to redirect the user after being
logged out, but when the page is accessed via back button, the debugger
doesn't stop at that code b/c the page is cached and is not generated at the
server.
How can I make these pages disappear from the history?
Thank you in advance,
Richard
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gil |
last post by:
I'm trying to track how many users are visiting a site and how may are
logged in, using application sessions like so:
Sub Session_OnStart
Session.Timeout = 20
Session("Start") = Now
Application.Lock
Application("ActiveUsers") = Application("ActiveUsers") + 1
Application.UnLock
End Sub
|
by: mallyonline |
last post by:
I last posted to this group about 6 months ago and was very pleased by the
excellent response I got and the great help offered to me. I am back this
time with another request for your expert help on a bit of ASP code I use on
my windows server 2003 with IIS6 machine.
I would like the code below to display in different colours depending on the
status of the page. I am looking to make the not logged in code appear red
and the logged in...
|
by: xixi |
last post by:
hi, i have a table with create ddl using not logged initially,
CREATE TABLE "NJIPD "."IVPWGMR" ("IVDY01" DECIMAL(2,0) , "IVMO01"
DECIMAL(2,0) , "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY
( START WITH +1 , INCREMENT BY +1 , NO CACHE ) ) IN "USERSPACE1" NOT
LOGGED INITIALLY ;
right now i have to delete almost one million rows in the table, so i
found that i can use alter table activate not logged initially before
i...
|
by: Daniel Chou |
last post by:
Hello,
I have two questions about "not logged initially":
1. Before using "alter table tbname activate not logged initially",
should the table be created with "not logged initially"?
2. After using "alter table tbname activate not logged initially",
how to deactivate it?
|
by: Alexander Pope |
last post by:
We have 5 tables that hold summary data. they exist in their own
tablespace. indices for these 5 tables also exist in their own
tablespace.
these 5 summary tables are required for various reports in the
application.
the source data exists in a third tablespace.
due to the nature of the applicaiton, the problem is the summary data
is constantly being 'refreshed', or deleted/inserted. this results in
a high number of deletes, and...
| |
by: db2group88 |
last post by:
we are using db2 udb v8.2 on windows. All our tables are created with
"not logged initially" parameter. Our application with auto commit on.
I would like to do an online backup and rolling forward recovery, is
this allowed? because in the document, i read these: You cannot recover
these tables when rolling forward. If the rollforward operation
encounters a table that was created or altered with the NOT LOGGED
INITIALLY option, the table is...
|
by: db2group88 |
last post by:
we are using db2 udb v8.2 on windows. all our tables are created with
not logged initially property,
So if i want to activate HADR (high availability disaster recovery) for
the database, in the document it said " non-replicated operations
include, but are not limited to --Tables created with the NOT LOGGED
initially option specified", so does that means i can't do HADR on our
current database because all the tables are created with the...
|
by: Josef Feit |
last post by:
Hi,
I have a following problem:
from time to time an attack on my page is performed,
overloading the server. The administrators had to limit the
access to the page to some domains only. I would like to
keep the page open for everybody.
Probably I should introduce a JavaScript/CGI driven form and
let user to copy some letters etd. before letting him
|
by: bwmiller16 |
last post by:
Folks -
DB2 FP9 on Linux AS 4.
We are running PeopleSoft which has every table generated with "Not
Logged Initially". Fine.
But we need to know if Peoplesoft has manually run the 'Activated Not
Logged Initially" statement.
|
by: jefftyzzer |
last post by:
Friends,
Three questions for you:
1. Are CREATE INDEX statements against DGTTs logged?
2. While running the SP recently, it died with a "transaction log
filled" (SQL0964C)
message while it was UPDATEing a NOT LOGGED DGTT. This is baffling and
seems
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |