|
That's a shame. I bought an XQuery book, I guess I'll never use it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi all. I hope this is the right forum section for this kind of question.
My production environment gives the user a cookie that contains encrypted authorization data. My web service (which does not produce the cookie) is expected to read the value of the cookie, do some magic with it, and extract the name of the authorized user.
That's what they give me. A cookie.
The client side calls my service via SOAP and passes the cookie value through the "Cookie:" header. All other headers are seen by the service, but "Cookie:" is not. (I can see that Context.Request.Cookies is empty, and Context.Request.ServerVariables contains all of my headers except "HTTP_COOKIE".)
I can even pass my cookie data in another header, as long as it's not called "Cookie:".
It sure looks as though .NET doesn't want services to see cookies, to the point of filtering out the "Cookie:" header when it's sent.
My question is--am I crazy, or does the .NET Framework remove cookies from SOAP web service requests? And if so, is there a way to override that behavior, other than by building an equivalent to the "Cookie:" header and parsing it on the service side?
Again, the user is already authenticated through another mechanism, they already have the cookie, and I'm supposed to use the cookie to figure out who's making the request.
Thanks in advance for any insights as to how .NET Framework handles cookies on web service requests.
|
|
|
|
|
Mark Schumann wrote: My question is--am I crazy, or does the .NET Framework remove cookies from SOAP web service requests?
I don't know the answer to that. If you really must know grab one of the several free packet sniffers and take a look at what is actually transmitted.
That said, something is not correct in your scenario. The SOAP message should be designed to carry that information and not rely on something like cookies since SOAP is not reliant on HTTP as it's transport.
led mike
|
|
|
|
|
Good answer--why am I expecting SOAP to carry my HTTP headers in the first place?
Thanks for the perspective, and for the smack in the head.
What do you think would be "best practice" if I want to push the contents of that cookie (which is all the authentication system gives me to work with) to my web service? I'm thinking it should be just another element in the SOAP request. Is there a more elegant way to do what I'm trying to do?
|
|
|
|
|
|
Outstanding, Mike--that's exactly what I was looking for! I appreciate your help on this.
|
|
|
|
|
Mark Schumann wrote: I appreciate your help on this.
Ok, I didn't really do anything but thanks. Good luck with the project.
led mike
|
|
|
|
|
Is there a way that we can install the report server on the IIS, without having SQL Server 2005 installed on the PC, Please let me know as soon as possible.
Thanks
ctrlnick
Happy Programming!
Regards,
ctrlnick !
|
|
|
|
|
You have to install Reporting Services from the SQL Server 2005 DVD. Say that you'll configure it later. Once Setup is complete, run the Reporting Services Configuration tool and set it up to connect to a ReportServer database on another computer.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hi can anyone dig in see why this error occurs?
An Error Icon is displayed over my default Website in IIS
Thanks,
Happy Programming!
Regards,
ctrlnick !
|
|
|
|
|
Hovering the mouse over it should show you some information as a tooltip? Your Windows System EventViewer also should be carrying some information regarding IIS/W3SVC.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Can someone point me in the direction on how to convert an .aspx page to .pdf format automatically when a user prints the page?
Thanks
|
|
|
|
|
Easy - there are a number of free ( with advertising ) printer drivers that print to PDF.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ITextSharp
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
doPDF
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Hello there,
I need to create an application, were i will capture video from my web cam and transmit it to a client through the network. All this must be done in real time. I am new in network programming and i only know a few basic things. A good example on how to do that would be really helpful.
|
|
|
|
|
Chandrias wrote: All this must be done in real time. I am new in network programming and i only know a few basic things.
Then your going to find that writing your own media server pretty impossible. I suggest using an existing server product to automate a lot of this task, such as Microsoft's Media Encoder 9 SDK[^].
|
|
|
|
|
Alright, I have a requirement to use a method from a class that is declared as internal, outside the assembly. I can't just declare it as public for security reasons and I can't move the method into the assembly for architecture reasons.
I thought I was onto a good thing there when I found this attribute... http://msdn2.microsoft.com/en-us/library/system.runtime.compilerservices.internalsvisibletoattribute.aspx[^]
So I've successfully marked the assembly as internalsvisible to my calling assembly, but I still can't get the code to compile. does anybody have any idea what my next step is here? There must be a way to get this to work, or the attribute wouldn't exist, right?
|
|
|
|
|
Hi guys
Does anyone know where we can find very accomplished Biztalk developers and architects? We have a nice opportunity for them over here....
thanks
steve
|
|
|
|
|
Sure - try posting this on monster.com or the like. Now stop spamming the board. Just go away and pay for job adverts like everybody else does you cheapskate.
|
|
|
|
|
well thanks for that attempt at communication... )
|
|
|
|
|
When we want your opinion we'll give it to you.
Until then go hang out with some of your management monkey peers, feed them some bananas and you will get all sorts of excited grunts of useless comments out of them.
led mike
|
|
|
|
|
sksassociates wrote: Does anyone know where we can find very accomplished Biztalk developers and architects?
Yep! Somewhere on this planet called Earth.
|
|
|
|
|
Dave Kreskowiak wrote: this planet called Earth
How about Universe? Often there are stories that people from Mars visit Earth through UFOs right?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
You may like to email webmaster (at) codeproject.com to see whether they would consider having your requirement onto their Jobs Board. That would give you a more powerful and potential reach.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|