| | |
Remember ME option
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
Creating cookies is simple. Use the
That's untested code.
System.Web.HttpCookie class. PHP Syntax (Toggle Plain Text)
HttpCookie newCookie = new HttpCookie("myCookie"); newCookie.Values.Add("Key","Value"); newCookie.Expires = #12/31/2008#; Response.Cookies.Add(newCookie);
Last edited by tgreer; Oct 12th, 2006 at 11:55 pm.
•
•
Join Date: Sep 2006
Posts: 44
Reputation:
Solved Threads: 3
...or in php use setcookie (http://ca3.php.net/manual/en/function.setcookie.php)
I'm assuming you're looking for the PHP code =)
I'm assuming you're looking for the PHP code =)
![]() |
Similar Threads
- Connecting 2 computers via usb cable (Windows NT / 2000 / XP)
- strange but true (Troubleshooting Dead Machines)
- Exchange OWA Issue (Windows NT / 2000 / XP)
- WORRIED, Cannot download anything at all !!! (Windows NT / 2000 / XP)
- Creating a .EXE file (Java)
- TO CHAINSAW - or anybody else who knows C++ (C++)
Other Threads in the PHP Forum
- Previous Thread: New With PHP
- Next Thread: PHP5x,Apache2.2 : Apache not reading php file
| Thread Tools | Search this Thread |
.htaccess alerts apache api archive array autocomplete beginner binary broken cakephp checkbox class cms code convert cron curl database dataentry date display duplicates dynamic echo email emptydisplayvalue error execute explodefunction file files firstoptioninphpdroplist folder form forms function functions google hack href htaccess html htmlspecialchars image include insert ip javasciptvalidation javascript joomla keywords limit link login mail matching menu methods mlm multiple mysql network object oop paypal pdf php problem query radio random recursion recursive redirect remote script search securephp server sessions shot sms source space sql subscription syntax system table tutorial tutorials update upload url validator variable video web youtube






