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

What comes after FormsAuthentication.SignOut()?

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 even after calling
FormsAuthentication.SignOut().

If I exit the browser and come back in it works fine, If I don't exit the
browser then I can still go to secure areas by modifying the url.

Not sure what to do.

help.

Thank you.
Oct 9 '07 #1
2 1328
depends on if you are in cookie mode or not.

in cookie mode it updates the cookie to not have an authentication cookie.

in cookieleess mode it redirects to the login without the url token.
going back in history in this case might resurrect the login token as
its in the url (it still has an expiration, so its not good forever).

-- bruce (sqlwork.com)
IfThenElse wrote:
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 even after calling
FormsAuthentication.SignOut().

If I exit the browser and come back in it works fine, If I don't exit the
browser then I can still go to secure areas by modifying the url.

Not sure what to do.

help.

Thank you.

Oct 9 '07 #2
Bruce,

that is my problem the token is resurrected.

How do I make sure it is completely dead and no chance to resurrection???

Thank you,

"bruce barker" <no****@nospam.comwrote in message
news:Ot**************@TK2MSFTNGP06.phx.gbl...
depends on if you are in cookie mode or not.

in cookie mode it updates the cookie to not have an authentication cookie.

in cookieleess mode it redirects to the login without the url token. going
back in history in this case might resurrect the login token as its in the
url (it still has an expiration, so its not good forever).

-- bruce (sqlwork.com)
IfThenElse wrote:
>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 even after calling
FormsAuthentication.SignOut().

If I exit the browser and come back in it works fine, If I don't exit the
browser then I can still go to secure areas by modifying the url.

Not sure what to do.

help.

Thank you.

Oct 10 '07 #3

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

Similar topics

2
by: George Durzi | last post by:
When you call FormsAuthentication.SignOut(), is the FormsAuthentication cookie supposed to be destroyed automatically? I'm creating my FormsAuthentication cookie by doing: HttpCookie oCookie =...
0
by: Ed West | last post by:
Hello This SignOut code is not working, any ideas? TIA. public class logout : System.Web.UI.Page { private void Page_Load(object sender, System.EventArgs e) { FormsAuthentication.SignOut();...
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...
2
by: Grant Merwitz | last post by:
Hi, i am using forms authentication in an ASP.NET project I am setting the Forms authentication cookie by using: FormsAuthentication.RedirectFromLoginPage(UserName.Text, false); Now when i...
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()...
3
by: David | last post by:
Hi all, I am having a slight issue with FormsAuthentication. I need to authenticate a user and while the page is still being processed, need to work with that authenticated user. I have set up...
3
by: Mark Olbert | last post by:
FormsAuthentication.SignOut() removes the authorization ticket from a user (and the user's roles), but does not change the user's identity. I need to be able to either revert the user to the...
0
by: Jon Paal | last post by:
FormsAuthentication.SignOut() not working, after executing the command pages are still accessible ???? how can I force the signout to kill the login ?
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
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
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.