Optimizing recompilation of SharePoint features, removing IE7 login session.

by Daniel Halan 6. August 2007 20:22
When developing new features for SharePoint you have to recompile and reinstall the feature a lot, one of the more time consuming moments are when you reset the IIS and try to restore the login session in an already open IE window, ie. by clicking on various links in the site.

The trick is to remove the old login session variable that is stored as a cookie. 
To remove the cookies you can add this line to your install.bat after "CALL iisreset".
"RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2"

This works only with IE7, if anyone know how to remove cookies on other browsers please drop a line.

blog comments powered by Disqus

Blog3ngine dot NET
Theme by Daniel Halan

About the author

Daniel Halan Daniel Halan, M.Sc., Microsoft Windows Azure Advisor Software Architect and Lead Developer from Sweden, currently in Bangkok.

Working primary with Microsoft .NET, Windows Azure, DDD, CQRS and some Dynamics CRM  Read more...

The content of this site are my own personal opinions and do not represent my employer's view in anyway.

Month List