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
PronowPronow 

Parameters getting lost while redirecting from one Visualforce Page to another

Hello there,

 

I have two visualforce pages. From one visualforce page, I am passing two parameters to other page. Inside, first page's controller, I am logging in using Site.login(username, password, startUrl) method. Inside the "startURL" (string), I am including target URL with two parameters. But on landing to target page, I am receiving only first parameter. Second parameter is missing.

 

The target URL: "../WithdrawProject?ProjectId=a0KJ0000001UNLJMA4&toBeWithdrawn=no". On the landing page, I am getting this URL: "../WithdrawProject?ProjectId=a0KJ0000001UNLJMA4"

 

Please help.

 

Thank you in advance.

 

 

 

MagulanDuraipandianMagulanDuraipandian

http://infallibletechie.blogspot.in/2012/01/to-send-parameters-from-one-visualforce.html

 

try this

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

SFDC Blog

SFDC Site

If this post is your solution, kindly mark this as the solution.

PronowPronow

Thank you Magu,

 

System.CurrentPagereference().getParameters().get('msg');

 

This code will ofcourse give us value of "msg". But, from the previous page only, I am not getting the second parameter.