nguyentientoan / socialauth-net

Automatically exported from code.google.com/p/socialauth-net
0 stars 0 forks source link

HttpContext.Current.Session["socialauthsession"] been shared between 2 different users (2 different machines) #205

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. login to facebook with user1 from machine 1
2. login to facebook with another user2 from machine 2
3. refresh the page for user1 will see info for user2

What is the expected output? What do you see instead?
it should be different HttpContext.Current.Session["socialauthsession"] values 
for different users but i see it has been mixed and 1st user can see 2nd user's 
info after refreshing his page

What version of the product are you using? On what operating system?
2.4.1

Please provide any additional information below.
Does anyone experience that before?
The session mode is In proc on development server and Sql server in the testing 
server.. both environments have the same issue.. mixed session between users.

Original issue reported on code.google.com by varga...@gmail.com on 17 Apr 2014 at 7:15

GoogleCodeExporter commented 8 years ago
so what i did:

i commented the following code in FacebookWrapper.cs

//if(token.Profile.IsSet)..

which is making to call a request every time

I think this overriding issue is happening because of lots of static members 
used in the code...

Original comment by varga...@gmail.com on 17 Apr 2014 at 10:27

GoogleCodeExporter commented 8 years ago
Check out issue:

https://code.google.com/p/socialauth-net/issues/detail?id=201

I am seeing the same problem with a similar workaround.

Original comment by chadis...@gmail.com on 22 Apr 2014 at 7:15