Web Hosting Talk







View Full Version : Question regarding cookie creation...


Cres154
12-04-2002, 08:25 PM
Newbie question for you guys...

what’s the difference between a cookie that's created through JavaScript versus through PERL?

Thanks in advance!

- Olle

MarkIL
12-04-2002, 08:55 PM
JavaScript simply shortens the process: it interfaces with the browser's cookie routines to create it on the user's computer.

A cookie that's sent by a Perl script is simply embedded in the headers sent by the HTTP daemon, and in turn read and processed by the browser's cookie routines.

In a word: none.

Cres154
12-11-2002, 09:03 PM
Thanks Mark! I like one word answers!

Cheers!