-- This is a short program to test getting cookie values. with Ada.Text_Io; use Ada.Text_Io; with CGI; use CGI; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; procedure Test_Cookie is Temp: Unbounded_String; begin Temp := Cookie_Value(1); Put("Value of first cookie: "); Put_Line(To_String(Temp)); Temp := Cookie_Value("problem"); Put("Value of cookie ""problem"": "); Put(To_String(Temp)); end Test_Cookie;