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
nagodtumunagodtumu 

Losing URL Parameter after Loging in to Salesforce.com

Hi,

I am developing a Salesforce app. And in some place I need go to an external page, get an activation key than come back to the Salesforce page.

 

But after redirecting my page along with ActivationKey parameter like this: "http:///blahblahblah.salesforce.com/na4ggg?ActivationKey=3043049404040943 salesforce needs me to login again and i type my password. Then i am forwarded to the page that  requested without ActivationKey. I think because of the login process, it is clearing the ActivationKey parameter.

 

I want to get the parameter from that page and put it into a textbox inside my custom page based on above scenario.

 

Is there a way to do this?

 

Thanks,

Umut

 

JmBessonartJmBessonart

Hi,

 

You always have to login again??

If this is the case, i think you can try to call the login url directly, like this:

 

https://login.salesforce.com/?ec=302&startURL=%2Fvisualforce%2Fsession%3Furl%3Dhttps%253A%252F%252Fc.na6.visual.force.com%252Fapex%252FClientDetail%253FcId%253D0038000000cNtrxAAC

 (This is the result to try to enter to this url: https://c.na6.visual.force.com/apex/ClientDetail?cId=0038000000cNtrxAAC )

 

Because saleforce use the startURL parameter to refered to the page forwarded after login.

 

 

I hope this help you :D

 

J.