uglyice
Joined: 04 Mar 2006
Posts: 1
|
Posted:
Sat Mar 04, 2006 1:28 am Post subject:
Problem to get REFERER At UserContext |
|
|
On Authorization plus-in sample
I can't get a value in this code
I can get WMS_USER_AGENT value and others except WMS_USER_REFERER
Is there any problem?
HRESULT CDBAuthPlugin::OnAuthorizeOpen( IWMSContext *pUserCtx, IWMSContext *pPresentationCtx, IWMSCommandContext *pCommandCtx )
{
hr = pUserCtx->GetStringValue(
const_cast<LPWSTR>( WMS_USER_REFERER ), WMS_USER_REFERER_ID,
&wstrRef,
WMS_CONTEXT_GET_PROPERTY_STRING_BY_REFERENCE );
}
|
|