Hi,
"
Is it possible to prepare a bunch of websites by using only one instance of MonoX?" yes it is possible. There are few things that you need to know:
- MonoX database is prepared for multi-tenancy so you are good to go here
- You should implement everything Denis has described in his
blog.
- You should use MonoX v4.9, if possible, as there are few fixed bugs related to multi-tenancy
That should be it, @Sumit please post your code so we can review it.
@BILGINYAZAR asked the following qestion and he answered his own question too, but for some reason it wasn't visible to the public (SPAM detection rules or something). I have published his answer and you have copy of it below.
But whenever I login in one of them the user name is also seen on the other sites, and that user is not registered for those applications (I am using two different IE instances. I think you are storing user details in the cache)
So my question is what should I do to separate user credentials between applications so that they will not collide?
@BILGINYAZAR answer
I could fixed my problem. The problem was occurred because both sites were using localhost. Even they were having different ports the cookies are shared together for both sites.
I have updated the hosts file and created 2 different entries for 127.0.0.1 and they will go to their web sites with different ports. So now their cookies are stored according to their URLs and there isn't any more collision.
Regards