I have a requirement to remove a non-SharePoint cookie (if it exists) when someone clicks the "Sign out" link in the users menu. The cookie comes from a 3rd party system that we can use for authentication during the sign in process, but causes a problem if it still exists and the person tries to log in again... whatever, the cookie needs to go!
I've been reading around and found the signout.aspx file in the 'hive' (/14/ - I'm using SharePoint 2010, clearly). However, if I make changes to this page (bad idea I know, but for proof of concept...) none of those change happen when I sign out.
For example, I the page, by default contains
If I add something like
My question: is this page, /14/template/layouts/signout.aspx, actually the one being used by this sign out link? If not, where is that page to I can add some code to remove my cookie?
I found one article that explains how to use PowerShell to replace out-of-the-box (ootb) pages, but it didn't say how to put the ootb pages back if you need to, so that scared me off. Might this be a better way of doing things? Are there any requirements for a custom signout page? I'm sure there must be, but I didn't find any yet.
Any help you guys can offer would be greatly appreciated :)