RE: netWindow - PHP data transfer model
"Christian Boulanger" <[email protected]>
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <001701c3612d$93ec5ef0$0200a8c0@Laptop> |
Hi Alex, > From a purely security standpoint, at no time should you ever > use PHP's built in session managment code. So what do you suggest. SERIALIZE/UNSERIALIZEing all relevant variables and storing them in a directory / SQL-Database? > > Send Javascript to be evaluated? (That is my current solution) > This scales better than anything else. It does require > XMLHTTP support in the > browser, which counts some of the more esoteric platforms > that netWindows has > been known to load on (Konq, Safari, Opera) out of the running. The way I have done it is to send the JS Script data with other HTML in a "<script>" section with an ID and then eval(document.getElementById(ID here).firstChild.data); Maybe a solution if you want to bundle data and avoid server traffic. Is this cross-browser? > > > you can get the content back by doing > dest_div_node.innerHTML if it > > > is html content. Is this cross-browser? > delay. I guess it's true what they say: "Open Source is > always late". = ) Don't worry, our developing speed is ten time slower... Thanks, Christian _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org