Andre Natal
Guest
|
Posted:
Fri Sep 03, 2004 8:51 am Post subject:
Custom plugin question. How to persist data in a Context in |
|
|
Hello all.
I'm writing a custom authorization plugin with C#.
I'm setting in AuthorizeEvent method, WMS_EVENT_LOGICAL_URL_TRANSFORM
event, a object inside the UserContext.
When in OnEvent method, WMS_EVENT_DISCONNECT event, i can get from
UserContext, the object back.
This in mmsu and rtsp protocols, but, in http protocol, I can't get
the object back.
When I call GetIUnknownValue in the User context, it throws a invalid
index exception.
Anyone knows why in http the contexts wouldn't persist? And how do I
persist data in this protocol.
The documentation don't cover that.
Thanks in advance.
|
|