SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have sp application where there are 15 subsite.I need to redirect each subsite to the respective logout page when i click logout.How do i achieve this & properly logout each respective subsite?

share|improve this question

No need to LOGOUT each SubSite but simple call this page in the _layouts virtual folder (available from wherever in SharePoint) use

(the / in front would make your link relative to your site collection) /_layouts/signOut.aspx

share|improve this answer
    
i have custom pages created for each subsite logout.I used powershell to set my custom application page as signout page.i am now able to redirect the logout url but the problem is i am not successfully logging out the user>ADFS authentication is being used by me – Nikhil Jangle Apr 22 '12 at 7:16
    
C:\PS>Set-SPCustomLayoutsPage -Identity “_layouts/signout.aspx” -Relat ivePath “/_layouts/custompages/mysignout.aspx” -WebApplication “http:/ /server_name/mywebapp” – Nikhil Jangle Apr 22 '12 at 7:22
    
I'm a little confused about your definition of subSite as custom login pages are set Web Application wide. On the other hand ADFS issues an STS-specific cookie (MSISSignOut) to performed logout across all relying parties, which is Session Based (close browser and you loose it), but NOT lost by navigating simply to SignOUt page - need to close or remove it manually. – Marius Constantinescu - MVP Apr 22 '12 at 17:19
    
well i created a application page where i wrote javascript to "clearauthenticationcache" . logout works fine in IE but mozilla and firefox i cannot successfully logout. – Nikhil Jangle Apr 29 '12 at 13:32
    
could you explain how to remove the session manually ? – Nikhil Jangle Apr 29 '12 at 13:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.