Click here to Skip to main content
15,846,144 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

i'm developping a web application with membership authentification ,
and i have a cart stocked in a session ,

my problem is :
when a user A have many products in his session , all other users have the same products in theirs sessions,
then there is one session for all users ,

I thought this is handled automatically by

how can i do it please ,


You must be doing something wrong then. Sessions are not shared.

I suggest you look at[^]
Share this answer
Thanks you RyanDev

i agree with you, but when you say user , do u means browser or membership user ... beacause i want to separe membership users .. so session mut be associated with a membership user

in my web config i have that by default :

<sessionstate mode="InProc" customprovider="DefaultSessionProvider">
     <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionstringname="MyConnectionString" />

i'm making authentifications by form, with membership

do you have some ideas about how can i associate membership with session ??
Share this answer
Thanks you Ryan ,
I had a problem of objects in my cart gesion class

its solved
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900