I'm new to ExtJS. I'm working with ExtJS 5. I thought it would be an easy thing to find on google, but after a long search I didn't get a clear, understandable answer. I want to pass a parameter when navigating from one page to another, so I'm able to use the value of the parameter on the second page. I use the following method to navigate to that second page:

```
Ext.History.add('page2')

```

I have the parameter I want to send assigned to a var, so if it was possible to do it like below, I could do something like:

```
Ext.History.add('page2?parameter=' + variable);

```

Update:

I solved this problem by passing a cookie and retrieving it on the next page with

```
Ext.util.Cookies.set(cookieName, cookieValue);

```

and

```
Ext.util.Cookies.get(cookieName);

```