| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdsApp::SetCookieName | (const hzString&,) |
Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp
Function Logic:
Function body:
hzEcode hdsApp::SetCookieName (const hzString& cookieBase)
{
_hzfunc("hdsSphere::SetCookieName") ;
if (!cookieBase) return E_ARGUMENT ;
if (m_CookieName) return E_SETONCE ;
hzChain Z ;
const char* i ;
Z << "_hz_" ;
for (i = *cookieBase ; *i ; i++)
{
if (*i > CHAR_SPACE)
Z.AddByte(*i) ;
}
m_CookieName = Z ;
Z.Clear() ;
return E_OK ;
}