473,408 Members | 2,734 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,408 software developers and data experts.

signout and browser back button

Hi !
My problem is :

I have a link on my secure part of web site with which user can signout...
Along with that below link is users name under which user signs in..
When user presses that link he is redirected to default
starting page and on the way I call the Session.RemoveAll,
FormsAuthentication.Signout...

But If I press BACK button on browser he is redirected to secure
page from which he camed WITHOUT signing in AGAIN

I think that that page stays written in browsers cache (although
i have html that sais "expire cahe")

CAN ANYONE HELP ME ??

Nov 18 '05 #1
1 1042
Hi, Kruno,

Well, seeing the page should not be a problem I think.

You should make sure that you check the identity on every request in order
to avoid page processing for not identified (not authorized) users. So, even
if the user sees the page it will not be possible to post data or to
navigate (make new requests).

Hope this helps
Martin
"Kruno" <kr**************@perpetuum.hr> wrote in message
news:ON**************@TK2MSFTNGP12.phx.gbl...
Hi !
My problem is :

I have a link on my secure part of web site with which user can signout...
Along with that below link is users name under which user signs in..
When user presses that link he is redirected to default
starting page and on the way I call the Session.RemoveAll,
FormsAuthentication.Signout...

But If I press BACK button on browser he is redirected to secure
page from which he camed WITHOUT signing in AGAIN

I think that that page stays written in browsers cache (although
i have html that sais "expire cahe")

CAN ANYONE HELP ME ??


Nov 18 '05 #2

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

Similar topics

5
by: Jeff Johnson | last post by:
I'm using forms authentication to protect a subfolder within my site. I've got it working fine except for two issues: (1) When I do a RedirectFromLogin page I have to put a cookie path ("/"...
1
by: adam | last post by:
hello the following is in a user control named header.ascx I have a label control and link button that only display text if a cookie is present private void Page_Load(object sender,...
1
by: Kruno | last post by:
Hi ! My problem is : I have a link on my secure part of web site with which user can signout... Along with that below link is users name under which user signs in.. When user presses that link...
1
by: Martin Lee | last post by:
I know that this is something of an old chestnut. Nevertheless, my problem is as follows; I have a page in which I write html out to the client using Response.Write(), followed by...
6
by: Patrick Olurotimi Ige | last post by:
I have a Forms Auth and use a button that allows users to SignOut below but when they sign out and PRESS THE BACK BUTTON they can see the previous page WHY? Sub SignOut(objSender As Object,...
4
by: Matthias S. | last post by:
Hi there, I've created an application which is using Forms-based authentification. My Login-Button event handler looks somewhat like this: // validate the input, etc... // sUserName holds now...
9
by: Patrick Olurotimi Ige | last post by:
When i add the following code below to a userControl it doesn't fire. Any ideas? Sub SignOut(ByVal objSender As Object, ByVal objArgs As EventArgs) FormsAuthentication.SignOut()...
2
by: Hunzian | last post by:
HI ALL.. WELL I GOT A LITTLE TRICKY PROBLEM .... THE PROBLEM IS ... WHEN I SIGNOUT USING THE BUTTON(FORMSAUTHENTICATION.SIGNOUT()); RESPONSE.REDIRECT("LOGIN.ASPX")...IT REDIRECTS ME TO...
2
by: parez | last post by:
Hi ALl, I had problem with FormsAuthentication.SignOut(). It wasnt working. Looked arround and saw a lot of posts and different solutions to the problem. And some how (i dont nkow what...
2
by: IfThenElse | last post by:
Hi, I asked this before but not reply, also I asked this in the asp.netSecurtiy group but the group is in temporary coma no reply for few days. I am still able to navigate back to secure area...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
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,...
0
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...

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.