4

I'm using the SharePoint 2010 FBA Pack http://sharepoint2010fba.codeplex.com/. Basically, I want to redirect to the homepage once a user Sign's out. I'm unable to find this. Could someone please help me out?

Many Thanks!

migrated from stackoverflow.com Apr 3 '12 at 0:42

This question came from our site for professional and enthusiast programmers.

6

You can follow steps below:

1) Create a copy of SignOut.aspx in the Layouts folder. Rename it as CustomSignOut.aspx

2) Open the custom page in notepad\designer. In the function _spBodyOnLoad() replace windows.close() with windows.location("YourHomePageRelativeUrl");

3) Make this page the default sign out page for the web application using below command in SP Management shell :

Set-SPCustomLayoutsPage -identity "Signout" -RelativePath "/_layouts/CustomSignOut.aspx" -WebApplication "http://yourwebapplicationurl"
0

Amit's answer is correct as discussed previously - signout.aspx doesn't seem to be used

Simply done using PowerShell;

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

Set-SPCustomLayoutsPage - http://technet.microsoft.com/en-us/library/ff607768.aspx

Simply UN-done using PowerShell;

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

I must have missed the important part about the "FBA Pack", although I am not certain, I think you could either make a feature or edit the master page, adding the signout functionality. I don't have a server to test this right now but please check this out;

http://www.thesug.org/blogs/lsuslinky/Lists/Posts/ViewPost.aspx?ID=23

Documentation for Set-SPCustomLayoutsPage: http://technet.microsoft.com/en-us/library/ff607768%28v=office.15%29.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["-item\"><a href=\"https://twitter.com/stackoverflow\" class=\"-link js-gps-track\" data-gps-track=\"footer.click({ location: 2, link: 32 })\">Twitter</a></li>\r\n                    <li class=\"-item\"><a href=\"https://linkedin.com/company/stack-overflow\" class=\"-link js-gps-track\" data-gps-track=\"footer.click({ location: 2, link: 33 })\">LinkedIn</a></li>\r\n                </ul>\r\n\r\n                <p class=\"mt-auto mb24\">\r\nsite design / logo &#169; 2019 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" class=\"js-gps-track\" data-gps-track=\"footer.click({ location: 2, link: 34 })\" rel=\"license\">cc by-sa 3.0</a>\r\n                            with <a href=\"https://stackoverflow.blog/2009/06/25/attribution-required/\"  class=\"js-gps-track\" data-gps-track=\"footer.click({ location: 2, link:35 })\" rel=\"license\">attribution required</a>.\r\n                    <span id=\"svnrev\">rev&nbsp;2019.8.20.34647</span>\r\n                </p>\r\n            </div>\r\n        </div>\r\n\r\n            </footer>\r\n            <script>StackExchange.ready(function () { StackExchange.responsiveness.addSwitcher(); })</scri"], "copyright__copyright__copyright": ["adding the signout functionality. I don't have a server to test this right now but please check this out;\n\nhttp://www.thesug.org/blogs/lsuslinky/Lists/Posts/ViewPost.aspx?ID=23\n\nDocumentation for Set-SPCustomLayoutsPage: http://technet.microsoft.com/en-us/library/ff607768%28v=office.15%29.aspx\n\nYour Answer\n\nBy clicking \u201cPost Your Answer\u201d, you agree to our terms of service, privacy policy and cookie policy\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}