AutoLogin feature implementation

Topics: ASP.NET 2.0, Business Logic Layer, Controls
Nov 13, 2008 at 5:39 AM

Hi All,

Few days back i have download BlogEngine.NET 1.4.5 source code and tried to debug the application. I didnt found from where the ValidateUser method is calling. It executes after the

 

BindMenu(); which is written in menu.ascx.cs page load method.

Can any one tell me from where its getting called.

my requirement is I want to auto login if any user visit the blog from my site
example:

if testapplication.com is my site and i have included blog.testapplication.com
if any user logs into testapplication.com with their credentials and visit blog.testapplication after logging then i want autologging to blog with the same credentials
else if the user directly visits blog.testapplication.com then they have to enter credentials in login page

can anyone give/ send the solution

Thanks in advance

 

Nov 16, 2008 at 4:33 AM

I am in process of looking into this myself in a similar fashion.  Have blog, wiki in different directories.

A key which I have come across is to have the same <machineKey validationKey

A recommendation is to search the web for this topic for InstantForum by InstantASP.  They talk about this type of integration issue.