Главная страница | назад





Article #19598: Reading and Writing Cookies

 Question and Answer Database
FAQ: FAQ4598C — Reading and Writing Cookies
Category: Internet/WEB
Platform: All Windows
Product: All-CBuilder,
Question:
How do I read and write cookies using the VCL?
Answer:
To read in the value of a cookie
Request->CookieFields->Values["name of cookie"];
To write a cookie
Response->SetCookieField(TStrings* Values, AnsiString Domain, AnsiString
APath, TDateTime AExpires, bool ASecure);
6/16/99 3:08:09 PM

Last Modified: 01-SEP-99