473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Expire all pages when logged out

Hi Guys!

I have a site that allows users to log in and out based and uses session to
access every page. My problem is when a user logout and click the back
button in the browser it allows them to go back and view the content that
they were in before but can not make any new request to the server without
logging back in. How can I make that page redirect them to them login page.
I have tried this
<%@ OutputCache Duration="0" Location="None" VaryByParam="none" %>
in my code and it does not work. Please help

Momo

May 11 '06 #1
2 1023
DWS
momo
You want mia to get one of those page cannot be displayed with out
resposting form data boxes to come up right?

DWS

"momo" wrote:
Hi Guys!

I have a site that allows users to log in and out based and uses session to
access every page. My problem is when a user logout and click the back
button in the browser it allows them to go back and view the content that
they were in before but can not make any new request to the server without
logging back in. How can I make that page redirect them to them login page.
I have tried this
<%@ OutputCache Duration="0" Location="None" VaryByParam="none" %>
in my code and it does not work. Please help

Momo

May 14 '06 #2
Yes, that's right.
"DWS" <DW*@discussions.microsoft.com> wrote in message
news:1E**********************************@microsof t.com...
momo
You want mia to get one of those page cannot be displayed with out
resposting form data boxes to come up right?

DWS

"momo" wrote:
Hi Guys!

I have a site that allows users to log in and out based and uses session
to
access every page. My problem is when a user logout and click the back
button in the browser it allows them to go back and view the content that
they were in before but can not make any new request to the server
without
logging back in. How can I make that page redirect them to them login
page.
I have tried this
<%@ OutputCache Duration="0" Location="None" VaryByParam="none" %>
in my code and it does not work. Please help

Momo

May 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: S. Bourbeau | last post by:
Hi all. Some of our web site users are experiencing a strange behavior of IE 6 (Sp1 or not). It looks like their ASP Session Cookie expire before time. Here are some details. The user connects...
3
by: Joey Powell | last post by:
This message was originally posted to the aspnet.security newsgroup, but no one there has ever heard of this before. That is why I am posting this message here, so that more people will see it... ...
13
by: Veeresh | last post by:
I am using .Net 1.1. How to expire an .aspx page? I think I have to use HttpCachePolicy class for this. But not sure how to use and where to this code to work. Is it in Page_load event. Thanks...
4
by: TCORDON | last post by:
How can I expire a page so if a user click back for example the page shows message "This Page has expired" or better yet a peronalized "Page expired" page. TIA!
1
by: LilC | last post by:
I'm creating an application that has a standard layout for all pages. The information that is displayed in the layout will be dynamic based on the user that is logged in. Thus when a page is...
2
by: Chris Davoli | last post by:
How do you expire pages so that the user can't hit the back button on his browser in Internet Explorer? I've tried the meta tag in the header that has an expires = 0 and also in vb.net...
0
by: aspineux | last post by:
setacl and getacl look to be already "Cyrus" specific (according the doc), why not to extend imaplib a little bit more ? Here are some code I wrote and tested to support cyrus "expire" that...
6
by: dawnerd | last post by:
HI everyone. I have another little problem that I could use some advice on. I have a session class that handles creating a simple session to keep my users logged in. It works fine. However, the...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a site which I secure with forms authentication. When the user's sign on and hit one of the secure pages, I have this line in my code to ensure that the browser does not cache the page;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.