Cookies are set in the headers of the page returned to the visiting
browser by the web server. Therefore, to set a cookie, you need the
authority to write the cgi which creates the cookie header which becomes
part of the page header sent back to the browser. You send a cookie to
the browser by inserting a Set-Cookie: in the page headers.
For instance
print "Content-Type: text/html\n";
print "Set-Cookie: cookie_name = $value\n\n";
On Mon, 20 Jul 1998, Barry Lee Brisco wrote:
> I have a client who is preparing to launch a new software product for
> sending multimedia email (this post is _not_ about whether or not that is a
> good idea! :)
>
> They are considering having their web site homepage contain an animated
> demo of the product. That is, when you come to the site that is what you
> will see - the demo. You will have no choice but to see it.
>
> I have advised that this is not appropriate, even though the primary
> purpose of the site is to market the product. They asked if cookies could
> be used to determine if a site visitor was a first time visitor or if they
> had been to the site before. I know this is possible (right?) assuming that
> the site visitor has a relatively recent version of Netscape or MSIE, _and_
> that they do not have cookies turned off in the browser.
>
> However, I also believe that one must have a high level of access to the
> web server to set this up. That is, the 'typical' web hosting account will
> not allow you access to the server to set up this cookie implementation. Is
> that correct? Apologies for my lack of knowledge about server access. It's
> just that on the web hosts I've used, I've never noticed any services
> offered that might allow me to do more than the usual FTP up files, view
> some site stats, maybe create password protected directories, that level of
> access. I thought that to do anything with cookies one needed to really get
> into the inner workings of the server.
>
> Thanks for any comments on this subject.
>
> Barry
> ____________________________________________________________________
> --------------------------------------------------------------------
> Join The Web Consultants Association : Register on our web site Now
> Web Consultants Web Site : http://just4u.com/webconsultants
> If you lose the instructions All subscription/unsubscribing can be done
> directly from our website for all our lists.
> ---------------------------------------------------------------------
>
--
Missouri State Government Web <*> James Proffer
http://www.state.mo.us/ | mailto:[EMAIL PROTECTED]
http://www.state.mo.us/mo/search.htm | http://www.state.mo.us/server.shtml
mailto:[EMAIL PROTECTED] | (573) 751-1544 Fax: (573) 751-3299
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------