function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AshlekhAshlekh 

Customer Portal Login Problem

Hi 

 

I have some problem with customer portal user login.

 

When a user visit at my site and click on login button then My site show login page. The end user enter thier customer login userName and passWord

(the Credintials are correct 100% confirm) In my Login controller. I call Site.Login method to login user. This method execute and redirec to user Home page. (When we enter the user name and password then the url of page change but instantaly stop to redirct home page. I checked my controller and all setting related to custmer portal like cutomer portal enable and end url and allow profile etc.

 

Please help me on this .

Advance Thanks

 

Ashlekh  

 

hitesh90hitesh90

Hi,

 

which URL you have writter in third parameter of site.Loin() Method?

 

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator

AshlekhAshlekh

 

Hi,

 

Thanks for reply.

 

In third parameter "StartUrl" I am just passing null. When I got problem than I checked with boht value null and my current page parameter.

And In backend when I see the user login list then it's show user logged successfully but in my current page the url try to change but instantally stop.

I have check the url and in url there is my home page url exist.

 

 

Thanks

Ashlekh

hitesh90hitesh90

Give your Home page URL there.