|
Comments for: hillel_aftel20070510
| Message # 1510007: |
|
Date: 05/21/07 13:38
By: Hillel Aftel Subject: RE: GET-variables To Eugene Wee: Session variables would solve the problem too, as would many other types of transport. However there are times when session variable are not viable. An example would be links formed from database records, like when you need to display a record list, each record having its own edit or delete link (or button). Those links need to be formed when the page renders, and there is no point where more PHP code can be executed to set a session variable telling the receiving page which record it needs to work with. It's those instances where query strings are usually used, placing the record IDs in those links as query strings. The moral of the story is that while there are more secure methods, GET query strings have their place in most web applications, especially database-driven ones. This technique simply makes them unreadable, where the alternative is to display them completely readable to everyone. |
Previous Message | Next Message |
| Comments: | ||
| Error in script | Scott | 05/20/08 11:45 |
| want to develop a job portal form | wasim | 01/14/08 07:59 |
| RE: GET-variables | mpb | 06/18/07 12:28 |
| RE: GET-variables | Hillel Aftel | 06/13/07 14:17 |
| RE: GET-variables | greybold | 06/06/07 22:45 |
| RE: GET-variables | Hillel Aftel | 05/21/07 13:38 |
| RE: GET-variables | Eugene Wee | 05/16/07 03:06 |
| RE: GET-variables | Hillel Aftel | 05/15/07 14:32 |
| RE: GET-variables | Hillel Aftel | 05/13/07 20:57 |
| RE: GET-variables | Professional Developer | 05/12/07 12:24 |
| GET-variables | Thijs | 05/11/07 14:10 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


