Forum OpenACS Q&A: Response to ns_returnredirect FORM vars vs URL vars

Collapse
Posted by Robert Ezman on
If you want to obscure some of the data in the location bar...Particularly if it's private info.... what you can do is base64 encode it (or use another kind of encoding).  The reason I suggest base64 is that that there's a function for it in the ad toolkit.

So you would do the following:

bulkmail_base64_encode string_to_obscure

and on the other end

bulkmail_base64_decode string_to_obscure

the result is uninteligible (to the user) junk in the location bar

This is just an idea...I haven't actually tried it as I've never had to obscure my info passed...however I've kept it as a plan b just in case I'd ever need to.

BTW:  A ns_returnredirect that sends data as POST would be great....If you do actually do it (or anyone else for that matter) it would be great if you could post it.