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 1.6.1.2
Theme by Daniel Halan

About the author

Daniel Halan Daniel Halan, M.Sc. systems architect in Sweden.

Working primary with Microsoft .NET, Dynamics CRM, XRM & Web Read more...

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


Follow Me
A short #8bit Tron clip w/ Daft Punk chipified, http://goo.gl/6fwIS #art 03 Jan 2011

Microsoft Dynamics Salary Survey 2012

Nigel Frank International would like to invite you to complete our annual survey of global Microsoft Dynamics salaries. The survey will only take a couple of minutes to complete and your response and any personal details will be kept strictly confidential.

Prizes,
1st  iPad2 16gb Wi-Fi + 3G 
2nd Xbox 360 + Kinect 
3rd Kindle Keyboard w/ Free 3G + Wi-Fi 
4th MS LifeCam Studio Webcam 
5th MS Arc Touch Mouse 

You will also receive a FREE copy of the Salary Survey report once it has been compiled. 

Take the Salary Survey 
The survey is available in 12 languages for your convenience.