| Home Page | Recent Changes | Preferences

LibHTTP/HttpCookies

UT2004 :: Object >> HttpCookies?

Cookie management system. Part of LibHTTP.

Properties

array<HTTPCookie> CookieData
the cookie data
int iVerbose
log verbosity
HttpUtil Utils
out utility belt

Structures

HTTPCookie

cookie entry

string domain
available to domain
int expires
exprises timestamp
string name
the cookie name
string path
path in the domain
string value
the current value

Functions

AddCookie(string cname, string value, int CurrentTimeStamp, optional int expires, optional string domain, optional string path )
Add or overwrite a new cookie
If value is empty the cookie will be deleted
If expires is in the past the cookie will be deleted
string EscapeQuotes(string in )
string GetCookie(string cname, string domain, string path, optional string defvalue )
Return the value of a cookie
string GetCookieString(string Domain, string Path, int CurrentTimeStamp )
Create a cookie string. TimeStamp should be the real current timestamp (not GMT corrected)
Logf(coerce string message, optional int level, optional coerce string Param1, optional coerce string Param2 )
bool ParseCookieData(string data, string rDomain, string rPath, optional int CurrentTimeStamp, optional bool bAdd, optional int TZoffset )
Parse a string to a cookie
rDomain and rPath are use to check if the cookie domain/path are valid
CurrentTimeStamp is required for adding
if bAdd is true add it to the list
returns true when the string is a valid cookie
string UnescapeQuotes(string in )

Events

Created( )

Category Custom Class

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In