YAFLogo

Posted by: Apache - Tuesday, 19 January 2010 13:12:17
Am trying to connect the forum with my website and in the process need to create a user session in the forum without the user having to login. When the user registers on my site I simultanously create the necessary enteries in the 4 tables of the forum but can anyone guide me how I can create a session in the forum so that the user doesnt have to login to the forum explicitly. MembershipUser user = Membership.GetUser("testuser"); if (user != null && HttpContext.Current.Session["UserUpdated"] == null) { //HOW DO I CREATE THE USER SESSION HERE HttpContext.Current.Session["UserUpdated"] = true; } All help is highly appreciated.