Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with Adam's answer chosen by CommunityBot
edited tags
Link
Saariko
  • 5.7k
  • 14
  • 81
  • 169
added 76 characters in body
Source Link
Shane McLaughlin
  • 8.7k
  • 6
  • 45
  • 79

For sites, there's a standard visualforce exception page.

We use a header on the site that will present either Welcome, username

Or

Login/register

...based on login status. Whenever a user finds a new, clever way to get an unhandled exception, the error page ALWAYS appears in guest user mode.

Not only did they get an error page (bad enough) but they also think that we just logged them out. They try to log in and see another error page (because they tried to log in while they're already logged in).

How do I allow the exception page to present itself to authenticated users and stay on the secure domain? The page is available to both the guest and authenticated user profile.

For clarity (asked below) it's not the styling that is going bad. It's that the exception page always thinks rendered="{!ISPICKVAL($User.UserType,'Guest')}" is true.

For clarification, we're using authenticated sites with a custom domain.

For sites, there's a standard visualforce exception page.

We use a header on the site that will present either Welcome, username

Or

Login/register

...based on login status. Whenever a user finds a new, clever way to get an unhandled exception, the error page ALWAYS appears in guest user mode.

Not only did they get an error page (bad enough) but they also think that we just logged them out. They try to log in and see another error page (because they tried to log in while they're already logged in).

How do I allow the exception page to present itself to authenticated users and stay on the secure domain? The page is available to both the guest and authenticated user profile.

For clarity (asked below) it's not the styling that is going bad. It's that the exception page always thinks rendered="{!ISPICKVAL($User.UserType,'Guest')}" is true.

For sites, there's a standard visualforce exception page.

We use a header on the site that will present either Welcome, username

Or

Login/register

...based on login status. Whenever a user finds a new, clever way to get an unhandled exception, the error page ALWAYS appears in guest user mode.

Not only did they get an error page (bad enough) but they also think that we just logged them out. They try to log in and see another error page (because they tried to log in while they're already logged in).

How do I allow the exception page to present itself to authenticated users and stay on the secure domain? The page is available to both the guest and authenticated user profile.

For clarity (asked below) it's not the styling that is going bad. It's that the exception page always thinks rendered="{!ISPICKVAL($User.UserType,'Guest')}" is true.

For clarification, we're using authenticated sites with a custom domain.

Notice added Draw attention by Shane McLaughlin
Bounty Started worth 50 reputation by Shane McLaughlin
Tweeted twitter.com/#!/StackSalesforce/status/241913975414087680
added 248 characters in body
Source Link
Shane McLaughlin
  • 8.7k
  • 6
  • 45
  • 79

For sites, there's a standstandard visualforce exception page.

We use a header on the site that will present either Welcome, username

Or

Login/register

...based on login status. Whenever a user finds a new, clever way to get an unhandled exception, the error page ALWAYS appears in guest user mode.

Not only did they get an error page (bad enough) but they also think that we just logged them out. They try to log in and see another error page (because they tried to log in while they're already logged in).

How do I allow the exception page to present itself to authenticated users and stay on the secure domain? The page is available to both the guest and authenticated user profile.

For clarity (asked below) it's not the styling that is going bad. It's that the exception page always thinks rendered="{!ISPICKVAL($User.UserType,'Guest')}" is true.

For sites, there's a stand visualforce exception page.

We use a header on the site that will present either Welcome, username

Or

Login/register

...based on login status. Whenever a user finds a new, clever way to get an unhandled exception, the error page ALWAYS appears in guest user mode.

Not only did they get an error page (bad enough) but they also think that we just logged them out. They try to log in and see another error page (because they tried to log in while they're already logged in).

How do I allow the exception page to present itself to authenticated users and stay on the secure domain?

For sites, there's a standard visualforce exception page.

We use a header on the site that will present either Welcome, username

Or

Login/register

...based on login status. Whenever a user finds a new, clever way to get an unhandled exception, the error page ALWAYS appears in guest user mode.

Not only did they get an error page (bad enough) but they also think that we just logged them out. They try to log in and see another error page (because they tried to log in while they're already logged in).

How do I allow the exception page to present itself to authenticated users and stay on the secure domain? The page is available to both the guest and authenticated user profile.

For clarity (asked below) it's not the styling that is going bad. It's that the exception page always thinks rendered="{!ISPICKVAL($User.UserType,'Guest')}" is true.

Source Link
Shane McLaughlin
  • 8.7k
  • 6
  • 45
  • 79
Loading