Last active
January 6, 2017 10:09
-
-
Save srujan21/7c46ca595da5dd7427f885244e6b7d29 to your computer and use it in GitHub Desktop.
Panel to distinguish between guest and registered
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:outputPanel rendered="{!ISPICKVAL($User.UserType,'Guest')}"> | |
Not logged in. Code for log in form goes here. | |
</apex:outputPanel> | |
<apex:outputPanel rendered="{! NOT(ISPICKVAL($User.UserType,'Guest'))}"> | |
Logged in. Code for link to post log in landing page or something else. | |
</apex:outputPanel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://salesforce.stackexchange.com/questions/759/preserving-session-after-login