Project Server 2007 Custom Web Parts and Forms Authentication

E

Erik Klitzner

Hi,
I have been able to get forms authentication working with SharePoint V3 and
it works just fine for Project Server 2007. The issue I have is somehow
reusing this authentication in a custom web part in conjunction this the
with LoginForms class. The obvious goal is to keep users from having to log
in to a custom web part after they have already authenticated into
SharePoint/Project Server. BTW, the web part works fine with the site using
Windows authentication.
Thanks,
Erik Klitzner
 
E

Erik Klitzner

I figured it out... You need to grab the ".aspxauth" cookie from the
page.request, convert to a system.net cookie and add it to the
cookiecontainer of project server class that you are using. No need to use
the loginfoms class.
 
Top