473,320 Members | 1,946 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,320 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 1151
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...
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.