Search found 5 matches
- Thu Jul 28, 2005 1:05 pm
- Forum: PHP - Code
- Topic: Setting session variable using text box onChange event.
- Replies: 8
- Views: 2900
This poses the same risks as leaving register globals on, what happens when someone sets $name to 'admin' and $value to 1? Yeah, I was so intent on solving my coding, it didn't occur to me! Thanks for pointing it out! Also thanks for steering me in the right direction on setting my session variable...
- Thu Jul 28, 2005 11:10 am
- Forum: PHP - Code
- Topic: Setting session variable using text box onChange event.
- Replies: 8
- Views: 2900
- Wed Jul 27, 2005 7:00 pm
- Forum: PHP - Code
- Topic: Setting session variable using text box onChange event.
- Replies: 8
- Views: 2900
- Wed Jul 27, 2005 6:37 pm
- Forum: PHP - Code
- Topic: Setting session variable using text box onChange event.
- Replies: 8
- Views: 2900
- Wed Jul 27, 2005 4:27 pm
- Forum: PHP - Code
- Topic: Setting session variable using text box onChange event.
- Replies: 8
- Views: 2900
Setting session variable using text box onChange event.
I need to set a session variable on the fly. I was using cookies, but I need way too many (much more than the 20 allowed): <script language="JavaScript"> function setCookie (name, value) { document.cookie = name + '=' + escape(value) } </script> <input type="text" name="Midd...