I have a url with several parameters is use for a http request. It looks like this:
http://www.url.com/site.php?parameter1=x¶meter2=y
I would like to make sth like this in javascript:
http://www.url.com/data=wafseghsgse or http://www.url.com/site/?data=wafseghsgse
And in php I would get the "old" url back to work with it.
I am looking for the fastest way to do this, not the most secure one. To save a key for encryption I would use the database or maybe session (safe?).
Looking for your great ideas.