Reputation: 3053
I have a Extjs data store in home page and im getting data from store like this
var jsonData = Ext.encode(Ext.pluck(Ext.getStore('cart_store').data.items, 'data'));
which generate json data like
[{"id":24,"item_code":"TVSIV(B)"},{"id":25,"item_code":"TVSIV(A)"}]
any idea how to pass this data to another page like when you do a redirect?
Regards
Upvotes: 0
Views: 468
Reputation: 849
Assuming your server supports PHP, you could also use a PHP Session.
http://www.php.net/manual/en/reserved.variables.session.php
Upvotes: 2
Reputation: 29668
You could use HTML5 local storage for this:
https://developer.mozilla.org/en/DOM/Storage
Most modern browsers including IE7+ support it.
Upvotes: 1