I have this weird problem, this is the set up.
I have a class library written in VB. The dll is signed and deployed to the GAC. The dll is a wrapper around the Session object, to store the current user in. The session is store in db, not in memory. I have multiple Web Sites written in VB, consuming this dll without any problem.
Now that we're switching to c#, I added a new Web Site project in c# and added a reference to the same GAC'd dll project.
Now, when I use the VB ddl classes in the c# web site, it seems as if the C# web site is using another Session/Copy of the dll ?
So my question is, Is it possible to use this setup? Is it possible that the VB GAC dll has a 'VB and a C# version' ? Should the VB websites and the C# website be using the same dll?
UPDATE: I checked the SessionID and indeed, there is a different SessionID in the VB websites, and the C# Websites. Altho both sites are running in the same Application pool and using the same Session Settings (Store In Database)
Hope I'm clear enough, will provide more info if needed!