From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f9fc1abe8f7a1849,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-10 08:15:37 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!freenix!enst!isdnet!newscore.univie.ac.at!newsfeed.sunet.se!news01.sunet.se!news.chalmers.se!fraggel34.mdstud.chalmers.se!md9tim From: =?ISO-8859-1?Q?Tim_Gahnstr=F6m?= Newsgroups: comp.lang.ada Subject: Cookies with AdaCGI 1.5 Date: Sun, 10 Sep 2000 17:15:24 +0200 Organization: Chalmers University of Technology Message-ID: NNTP-Posting-Host: fraggel34.mdstud.chalmers.se MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nyheter.chalmers.se 968598927 9499 129.16.235.164 (10 Sep 2000 15:15:27 GMT) X-Complaints-To: abuse@chalmers.se NNTP-Posting-Date: 10 Sep 2000 15:15:27 GMT Xref: supernews.google.com comp.lang.ada:571 Date: 2000-09-10T15:15:27+00:00 List-Id: Hi I have a few problems with puting out cookies. This litlle code snipet put a cookie Set_Cookie("test_key", "test_value","","",""); Put_CGI_Header; Put_Line("

This is just a test"); Put_HTML_Tail; and the value can be retrived and displayed by this code Put_CGI_Header; Put("Number of cookies="); Put(Cookie_Count); New_Line; Temp := Cookie_Value(1); Put("Value of cookie: "); Put_Line(To_String(Temp)); One question is why won't the cookie show among the IE cookies or in the NS cookie file? when I obviously can send and retrieve the cookie? Question two what is the format of the expires parameter Set_Cookie("test_key", "test_value","EXPIRATION","",""); Thanks Tim