Re: Different same machine browser sessions intefering with each other with Forms Authentication and asp.net 2.0
- From: bob.abrahamian@xxxxxxx
- Date: 12 Dec 2006 10:11:07 -0800
bob.abrahamian@xxxxxxx wrote:
bruce barker wrote:
most likely a bug in your code. you are probably storing session is a vb
module, causing it to be shared across requests
-- bruce (sqlwork.com)
Hi Bruce. Thanks for your response. I'm not sure exactly what you mean
by "you are probably storing session is a vb module". We have a C# app.
First of all, we are using forms authentication, e.g. calls to
SetAuthCookie (and the logout call quoted above). How could this be a
bug in our code, the forms authentication is what's storing the state
itself, right? How could one forms authentication logout log out the
other one? Are you saying that maybe there's some web.config setting
wrong that controls forms authentication that we should change? We have
some other application session state that we store in the Session built
in usercontrol variable. Is this wrong?
I also replicated this in the .net 1.1 version of our app.
thanks,
Bob
The problem ended up being that our call to SetAuthCookie passed in
true for the parameter to create a persistent cookie, I changed it to
false and it ended up working. Hope this helps someone else. Thanks
everyone.
.
- References:
- Different same machine browser sessions intefering with each other with Forms Authentication and asp.net 2.0
- From: bob . abrahamian
- Re: Different same machine browser sessions intefering with each other with Forms Authentication and asp.net 2.0
- From: bruce barker
- Re: Different same machine browser sessions intefering with each other with Forms Authentication and asp.net 2.0
- From: bob . abrahamian
- Different same machine browser sessions intefering with each other with Forms Authentication and asp.net 2.0
- Prev by Date: Re: checkbox on gridview
- Next by Date: asp:Wizard control - hiding "next" button on certain steps.
- Previous by thread: Re: Different same machine browser sessions intefering with each other with Forms Authentication and asp.net 2.0
- Next by thread: ASP.NET and MS Word Find and Replace Error
- Index(es):
Relevant Pages
|