+ Start a Discussion

Hiding parameters in url of visual force page

I want to pass some parameters in url to another page with hidden way. so i tried using getheaders() instead of getparameters(). but this was not works. Please help me understand, how to do? i am pasting my code below:

controller of Page 1:
public PageReference wish() {
    pagereference s=new pagereference('/apex/Aboutus');
    return s;

Construtor of Page 2:

Public aboutus(){
string ss=ApexPages.currentPage().getheaders().get('id');

in debug log i am getting null during this action..
One alternative is to just use the same controller for both pages, then you could maintain the parameters in memory.