+ Start a Discussion
diydiy 

The page you submitted was invalid for your session. Please click Save again to confirm you

The page you submitted was invalid for your session. Please click Save again to confirm your change.

 


when i open a popup window second time in same screen , this error occured.. How I handle this error?

Ashish_SFDCAshish_SFDC

Hi Diya, 

 

 

You might be receiving the following error when added the following parameter &save=1 in your redirect button on Save. &save=1 will be open to security threats and is not recommended. 

 

The requirement can be implemented by using the Force.com AJAX toolkit or a Visualforce page with a custom controller. 


Please refer the following links which is related to the same issue posted in our Discussion Boards. 

https://success.salesforce.com/answers?id=90630000000gzFWAAY 

http://boards.developerforce.com/t5/General-Development/quot-save-1-quot-attribute-no-longer-working/td-p/257227

Regarding AJAX toolkit 

Please refer the following Salesforce doc which will help you to work with AJAX toolkit. 

http://www.salesforce.com/us/developer/docs/ajax/

 

 

Regards,

Ashish

U JayU Jay
I tried...But on first click. didn't redirected on first button click.In next click got exception :(
"Visualforce Error
Help for this Page

The page you submitted was invalid for your session. Please click Save again to confirm your change."



My code part :-
pageReferenceHealthForm=  new pageReference('/apex/HealthFormPage?id='+contList[0].Contact__c+'&rid='+contList[0].id);
               pageReferenceHealthForm.setRedirect(false);
               return pageReferenceHealthForm;

What is the mistake i made?