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

Creating Apex Form using dynamic visualforce components



I have two sites and both have separate login/signup pages. What I intend to do is to merge the singup pages into one site and based on the selection, creates the customer portal user etc and login to the respective site. 


What I was thinking is if I can create an apex form using dynamic visualforce components and post it to the other site with encrypted credentials as apex parameters. The other site can read those parameters and allow login.


Any best practices or recommendation?