| Home Page | Recent Changes | Preferences

HttpCookies

Cookie management system. Part of LibHTTP.

Properties

array<HTTPCookie> CookieData
the cookie data
int iVerbose
log verbosity

Structures

HTTPCookie

{
    var string name;
    var string value;
    var int expires;
    var string domain;
    var string path;
};

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 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
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

Events

Created( )
Clean up cookie data

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

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In