Problem running two blogs in one application

Topics: ASP.NET 2.0, Business Logic Layer
Jun 11, 2009 at 7:39 AM

Hello

I have an application that uses windows basic authentication for login, and under that application I have two separate blogengines ex:

www.thesite.com/blog1

www.thesite.com/blog2

Now, when I apply basic authentication to the blogs in iis i get the following error "WebForm_InitCallback is not defined." And now I can't post comments and posts and such. Also when I'm logged in to both blogs and then log off on one blog, I get logged of in the other blog too. It seems that two separate blogengines in the same application does'nt play very well together.

Any thoughts on this? someone have a solution?

 

Thanks in advance.

/Fred

Jun 11, 2009 at 8:24 AM

Okey, I solved one problem, the problem with the errors.

So now my other problem is that the two blogs seem to use the same cookies for authentication, so when I'm loging off on one blog i get logged off in the second blog.

Can I change the names of the cookies so that they don't use the same? any ideas?

 

Thanks in advance

/Fred 

Jun 11, 2009 at 9:52 AM

HAHA!

Sorry i ran the two blogs in the same browser thats why they used the same cookies, it works fine.

 

/Fred