+ Start a Discussion

Creating Apex Form using dynamic visualforce components



I have two force.com 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?