| Author |
Message |
hk
Guest
|
Posted:
Wed Aug 04, 2004 9:44 am Post subject:
Session cookie missing in license request |
|
|
Hello,
I am trying to implement a scenario where one server packages the content
and another (possibly in a different domain) licenses the content. The
problem I have discovered is that when I do this the license request does
not send any cookies previously set including the session cookie. To help
explain the situation let's go through the following:
1.) Content is packaged on server A with the license acquisition page
pointing to server B
2.) The user logs into server B and has a session variable set to verify
login.
3.) Windows media player is embedded in a page on server B and is set to
play the protected content.
The problem is that the license request that comes does not send the session
cookie. I am able to successfully license the content but cannot verify the
user. If I use the same code to package and license but put the license
acquisition URL on the same server that packaged the file the session cookie
is sent.
Server B is using the same private and public keys as server A but has
different certificates (cert1 and cert2 in registry).
Any response is appreciated,
Hans
|
|
| Back to top |
|
 |
scrib
Guest
|
Posted:
Wed Aug 04, 2004 10:00 am Post subject:
Session cookie missing in license request |
|
|
First off, this issue has nothing to do wit the packaging
server so don't even include that when asking people about
it.
Second, I'm not completely sure, but since Windows Media
Player is making the request for a license, the session is
not shared between the hosting web page and Windows Media
Player (which is a running in a different process).
That definately sounds like the case.
You may be stuck doing a second login, or use persistant
coookies.
| Quote: | -----Original Message-----
Hello,
I am trying to implement a scenario where one server
packages the content
and another (possibly in a different domain) licenses the
content. The
problem I have discovered is that when I do this the
license request does
not send any cookies previously set including the session
cookie. To help
explain the situation let's go through the following:
1.) Content is packaged on server A with the license
acquisition page
pointing to server B
2.) The user logs into server B and has a session
variable set to verify
login.
3.) Windows media player is embedded in a page on server
B and is set to
play the protected content.
The problem is that the license request that comes does
not send the session
cookie. I am able to successfully license the content
but cannot verify the
user. If I use the same code to package and license but
put the license
acquisition URL on the same server that packaged the file
the session cookie
is sent.
Server B is using the same private and public keys as
server A but has
different certificates (cert1 and cert2 in registry).
Any response is appreciated,
Hans
.
|
|
|
| Back to top |
|
 |
hk
Guest
|
Posted:
Wed Aug 04, 2004 10:40 am Post subject:
Re: Session cookie missing in license request |
|
|
Thanks for the response.
I mentioned the packaging server because the behavior is different if the
license URL is located on it. My testing has shown that if the license URL
is located on the same server that packaged the file then the embedded
windows media player will send cookies that were previously set; if the
license URL is on a different server then the cookies are not sent. I'm
using the term "License URL" but I do mean the entire license process
including the login page.
I agree that I might have to use a second login but I was hoping to avoid
that.
Thanks again,
Hans
"scrib" <geoff@djsmediacorp.com> wrote in message
news:bfa901c479e8$5d726c50$a501280a@phx.gbl...
| Quote: | First off, this issue has nothing to do wit the packaging
server so don't even include that when asking people about
it.
Second, I'm not completely sure, but since Windows Media
Player is making the request for a license, the session is
not shared between the hosting web page and Windows Media
Player (which is a running in a different process).
That definately sounds like the case.
You may be stuck doing a second login, or use persistant
coookies.
-----Original Message-----
Hello,
I am trying to implement a scenario where one server
packages the content
and another (possibly in a different domain) licenses the
content. The
problem I have discovered is that when I do this the
license request does
not send any cookies previously set including the session
cookie. To help
explain the situation let's go through the following:
1.) Content is packaged on server A with the license
acquisition page
pointing to server B
2.) The user logs into server B and has a session
variable set to verify
login.
3.) Windows media player is embedded in a page on server
B and is set to
play the protected content.
The problem is that the license request that comes does
not send the session
cookie. I am able to successfully license the content
but cannot verify the
user. If I use the same code to package and license but
put the license
acquisition URL on the same server that packaged the file
the session cookie
is sent.
Server B is using the same private and public keys as
server A but has
different certificates (cert1 and cert2 in registry).
Any response is appreciated,
Hans
.
|
|
|
| Back to top |
|
 |
|
|
|
|