+ Start a Discussion
Lalitha Pavani Rallabandi 13Lalitha Pavani Rallabandi 13 

Session timeout for sites

I created sites and assigned a custom login page as a home page.I want to redirect users to portal login page if their session is timeout. There is no document even mentioned how to handle it from Apex. Can someone help me on this problem please?

AbhishekAbhishek (Salesforce Developers) 
You can use CName for it.


For further reference, you can check the below blog (https://salesforce.stackexchange.com/questions/217639/custom-url-in-salesforce-communities).


I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.