On 31 Mar 99, at 12:12, Jason Epstein wrote:
> A quickie:
>
> What commands can you use in PERL to set and retrieve cookies from a
> users' browser?
The quick answer is to use CGI.pm or some other such module. As I use
CGI.pm I suggest using it.
http://stein.cshl.org/WWW/software/CGI/cgi_docs.html
I installed his samples page here:
http://www.germantown.net/samples/
Lincoln Stein has a nice example of cookies which he calls "Animal
Crackers".
I recently used javascript to set a cookie: you load the page and it
sets a cookie and then starts to countdown 30 seconds and then pops-
up a window, but it won't pop-up the window if you have the cookie. I
found a great resource for javascript:
http://www.irt.org/
one thing I really like about their search is that they return
questions based on what I enter (better than askjeeves which was
really bogus). You click on the question and the page answers it.
Peter
Might is not Right. But there is a lot of Might knocking
about in this world, and something has to be done about it.
-- King Arthur, The Once and Future King
____________________________________________________________________
--------------------------------------------------------------------
Join The NEW Web Consultants Association FORUMS and CHAT:
Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
Give the Gift of Life This Year...
Just4U Stop Smoking Support forum - helping smokers for
over three years-tell a friend: http://just4u.com/forums/
To get 500 Banner Ads for FREE
go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------