1
votes

when we click on logout control on "welcome system account" dropdown control(available at top-right of the page). it uses a buit in page signout.aspx(C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\signout.aspx) page to redirect . i want it to redirect to my own created custom signout page which i will manually place in layouts folder. how to do it

2

2 Answers

1
votes

Create a HttpModule and then redirect

6
votes

Yes, you can change the redirection of your signout page using Sharepoint Management Shell command.

Setting the custom sign out page:

Set-SPCustomLayoutsPage -identity "Signout" -RelativePath "/_layouts/CustomSignout/Signout.aspx" -WebApplication "http://yourwebapplication"

Setting default sign out page:

Set-SPCustomLayoutsPage -identity "Signout" -reset -WebApplication "http://yourwebapplication"