| | |
Encrypting Session Data
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I recently read a post by someone stating that you could not encrypt POST or GET sessions while sending data between pages.
I wanted to know if there was a way.
could one not simply write a script that would encrypt the message before sending along with a key that on the following page was decrypted using the required key?
or something to that effect.
Just wondering what everyones opinions are one this subject and what the standard is for sending data accross pages to ensure security.
i personally was thinking along the lines of writing a bit of javascript to encrypt messages using a custom written encryption algorythim along with a generated key that is generated based on how the string was encrypted, and the recieving page would be a PHP script that would grab the key and based off of what the key said would decrypt the strings and what was needed with them.
anyone else got any ideas?? that are maybe simpler?
I wanted to know if there was a way.
could one not simply write a script that would encrypt the message before sending along with a key that on the following page was decrypted using the required key?
or something to that effect.
Just wondering what everyones opinions are one this subject and what the standard is for sending data accross pages to ensure security.
i personally was thinking along the lines of writing a bit of javascript to encrypt messages using a custom written encryption algorythim along with a generated key that is generated based on how the string was encrypted, and the recieving page would be a PHP script that would grab the key and based off of what the key said would decrypt the strings and what was needed with them.
anyone else got any ideas?? that are maybe simpler?
Dont forget to spread the reputation to those that deserve!
![]() |
Similar Threads
- How to expire a session (PHP)
- session variable error (PHP)
- session_start(): Cannot send session cache limiter - (PHP)
- Differences between Session and ViewStates? (ASP.NET)
- IListSource does not contain any data sources (ASP.NET)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Dreamweaver add-ons
- Next Thread: Easy drop down menu?
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column createrange() css cursor date debugger dependent disablefirebug dom download dropdown editor element embed engine error events explorer ext file form forms getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post problem programming progressbar regex runtime scroll search security select shopping size software sql text textarea unicode w3c web website window windowofwords windowsxp wysiwyg \n






