|
The browser will cache pages, unless you ask it not to. Read up on the cache control headers.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi,
I want to upload a file to a folder in production server, using the SaveAs method of the upload server control. My target folder is 'E:\inetpub\vhosts\marinasecuritieslimited.com\httpdocs\stockinfo\test_data.txt
However i got this error "Access to the path 'E:\inetpub\vhosts\marinasecuritieslimited.com\httpdocs\stockinfo\test_data.txt' is denied" after clicking the upload button.
Have granted asp.net user access to write the folder, yet the error is still the same.
Can someone help me please?
|
|
|
|
|
Hi,
How can I decode the email body into the correct string value?
I have a problem in retrieving email content using indy.sockets. Some of the email body has this value (please check below characters) ...
Rm9sbG93IFVwIEZsYWc6IEZvbGxvdyB1cA0KRmxhZyBTdGF0dXM6IENvbXBsZXRlZA0KDQpCT09L SU5HIENPTkZJUk1BVElPTg0KV290aWYuY29tIFB0eSBMdGQNCklzc3VlZDogMDgvMDYvMjAwOA0K DQpUSElTIEJPT0tJTkcgSEFTIEJFRU4gUFJFLVBBSUQgVE8gV09USUYuQ09NIEZPUiBUSEUgUk9P TSwgQkVERElORyBBTkQgSU5DTFVTSU9OUyBTSE9XTiBCRUxPVy4NCg0KPT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT0NClByb3BlcnR5IG5hbWU6ICAgICAgICAgICAgICAgRGFyd2luIEFpcnBvcnQgUmVz b3J0DQpDb25maXJtYXRpb24gbnVtYmVyOiAgICAgICAgIDkyMjE0MDkNCg0KVG90YWwgbnVtYmVy IG9mIHJvb21zOiAgICAgICAxIHBlciBuaWdodA0KDQpHdWVzdCBuYW1lOiAgICAgICAgICAgICAg ICAgIENoZXJ5bCBTaGVwcGFyZA0KDQpOdW1iZXIgb2YgZ3Vlc3RzOiAgICAgICAgICAgIEFkdWx0 czogMiBDaGlsZHJlbjogMA0KDQpCZWRkaW5nIGNvbmZpZ3VyYXRpb246ICAgICAgIDEgZG91Ymxl DQoNCkd1ZXN0IHBob25lOiAgICAgICAgICAgICAgICAgMDg4OTcxMDc0Ng0KR3Vlc3QgRVRBOiAg ICAgICAgICAgICAgICAgICAxMzAwDQoNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSb29tIHR5 cGU6ICAgICAgICAgICAgICAgICAgIEV4ZWN1dGl2ZSBCdW5nYWxvdw0KDQpCb29rZWQgbmlnaHQ6 ICAgICAgICAgICAgICAgIFN1bmRheSAyOS1KdW4tMDgNCkJvb2tlZCByYXRlOiAgICAgICAgICAg ICAgICAgJDIxNS4wMA0KSW5jbHVzaW9uczogICAgICAgICAgICAgICAgICBDb21wbGltZW50YXJ5 IGFpcnBvcnQgdHJhbnNmZXJzISAyNCBob3VyIHJlY2VwdGlvbiAtIGdyZWF0IGZvciBsYXRlIG5p Z2h0LCBlYXJseSBtb3JuaW5nIGFycml2YWxzIGFuZCBkZXBhcnR1cmVzLg0KDQpSb29tIHR5cGUg ZGVzY3JpcHRpb246ICAgICAgIEFpciBjb25kaXRpb25lZCBidW5nYWxvdyB3aXRoIHF1ZWVuIGJl ZCBpbiBtYWluIGJlZHJvb20sIGxhcmdlIHdhcmRyb2JlLCBwcml2YXRlIGVuc3VpdGUsIDIgc2Vh dGVkIGxvdW5nZSwgMzDigJ0gcGxhc21hIHNjcmVlbiBUViwgdGVsZXBob25lICYgaW50ZXJuZXQg ZmFjaWxpdGllcywga2l0Y2hlbmV0dGUgd2l0aCBsYXJnZSBmcmlkZ2UgYW5kIG1pY3Jvd2F2ZSwg cHJpdmF0ZSB1bmRlcmNvdmVyIGJhbGNvbnkgJiBpbmRpdmlkdWFsIGNhcnBhcmsNCg0KQWxsIGFt b3VudHMgYXJlIHNob3duIGluIEF1c3RyYWxpYW4gRG9sbGFycw0KDQo9PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PQ0KVGhlIGd1ZXN0IGhhcyBiZWVuIGluZm9ybWVkIHRoYXQgdGhleSBtdXN0IHByb3Zp ZGUgYSBjcmVkaXQgY2FyZCBhdCBjaGVjay1pbiB0byBndWFyYW50ZWUgcGF5bWVudCBvZiBhbnkg aW5jaWRlbnRhbCBjaGFyZ2VzLiBUaGV5IGhhdmUgYWxzbyBiZWVuIGluZm9ybWVkIHRoYXQgdGhl eSBtdXN0IHByb2R1Y2UgcGhvdG8gSUQgYXQgY2hlY2staW4sIGFuZCB0aGF0IHlvdSB3aWxsIHRh a2UgYW5kIHJldGFpbiBhIGNvcHkgb2YgdGhpcyBJRC4NCg0KRm9yIG1vcmUgaW5mb3JtYXRpb24g ZW1haWwgIldvdGlmLmNvbSBBZG1pbmlzdHJhdGlvbiIgPGFkbWluQHdvdGlmLmNvbT4gb3IgdGVs ZXBob25lICs2MSA3IDM1MTIgOTk5OS4NCg0KVmlldyB5b3VyIGhvdGVsJ3MgY3VycmVudCBvZmZl cnMgYXQgaHR0cDovL3d3dy53b3RpZi5jb20vaG90ZWwxMjk5My4NCg0KVXBkYXRlIHlvdXIgcmF0 ZXMsIGFsbG90bWVudHMgYW5kIGluY2x1c2lvbnMgb25saW5lIGFuZCB2aWV3IGd1ZXN0IGRldGFp bHMgYXQgaHR0cHM6Ly9zdXBwbGllci53b3RpZi5jb20vU3VwcGxpZXJFbnRyeS5qc3AuDQoNClRo YW5rIHlvdSBmb3Igc2VsbGluZyB0aHJvdWdoIFdvdGlmLmNvbS4NCg0KVGhlIFRlYW0NCldvdGlm LmNvbQ0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCg0KDQo=
hifiger2004
|
|
|
|
|
I already mentioned, i think, that this stuff is extremely well documented[^] if you just look.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I think I found another component. I am using now another component that has this property - msg.plainbody.tostring which returns a real email value.
Anyway, thanks about the links you shared to me.
hifiger2004
|
|
|
|
|
Hi,
I use to code with the C# language and accessing web services methods are uber easy with the help of VS Studio. But now im trying to do the same, but using Javascript instead.
The link to the webservice:
http://webservices.iter.dk/calculator.asmx[^]
Now the thing is,
1.how do a connection to the web service so that i will be able to get access the methods so that i be able to use it on my form.
2. if there are other ways to access the methods of the web service mentioned above, what are the steps? any tutorials that i can look at in order to understand how Javascript will be able to achieve that.
Thank you.
|
|
|
|
|
Oh, look[^] !!
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
There is this error 415. which i believe is the Unsupported media type; bad format error. how do i solve this.
req.open("POST", url , true);
req.setRequestHeader("Host", "webservices.iter.dk")
req.setRequestHeader("Content-Type", "text/xmltext/xml; charset=utf-8");
req.SetRequestHeader("Content-Length", "length")
req.setRequestHeader("SOAPAction", "http://www.iter.dk/webservices/calculator.asmx/Add")
req.send("" +
"\n\n" +
"<soap:envelope"> ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'+
' xmlns:xsd="http://www.w3.org/2001/XMLSchema"'+
' xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">' +
"<soap:body xmlns:soap="#unknown">" + "/n" +
' <add xmlns="http://www.iter.dk/webservices/calculator.asmx">' +
'<inta>' + intA + '</inta>' +
'<intb>' + intB + '</intb>' +
'</add>' + "/n" +
'</soap:body>' + "/n" +
'' + "/n");
return false;
is there something wrong with the code above ?
|
|
|
|
|
Hi people,
I want to develop a news site with articles, where each article has an option of posting comments to it in the bottom, in a discussion/threaded way.
I'd like to do every thing myself without using any ready-made libraries for that matter.
The problem is that I don't know where to start and what tools to select and learn.
I am a SW developer in C++/OpenGL/3D... I also know a fair amount of SQL and a little bit of Python.
What set of tools should I pick?
C#/ASP.NET ??
PHP??
Java??
Python?
Please advise.
Many thanks in advance.
|
|
|
|
|
C#/ASP.NET. It's OO and C# looks like C++, it's the most friendly environment for C++ devs to write web apps.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
so i'm writing some basic drag-drop code and it all works fine in FF3 but in IE it seems that the mouseup event isn't being handled properly ... does anyone know of any "known issues" related to this?
"mostly watching the human race is like watching dogs watch tv ... they see the pictures move but the meaning escapes them"
|
|
|
|
|
The only one i can think of off-hand is that if the element you're dragging has text content IE will start selecting it, which can get weird but isn't really a big deal to work around. Oh, and if you're detaching and re-attaching elements containing form controls, it'll sometimes lose attributes.
Keep in mind: IE's event bubbling model works a bit... differently. If you have event handlers at multiple levels, and depend on events reaching them in a certain order, then this might lead to problems.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
I have a classic asp application which allows the use of diacritics (accented characters). The values containing the characters are being passed between a series of pages (wizard pattern) until the user submits the final page.
As I inspect each page in the flow, the diacritics are being passed correctly between all the previous pages. But on the final submit the entire characters are being stripped from the value submitted. So, "Producciòn" becomes "Produccin". I'm just using request.form("....") to retrieve the values.
The page headers are all the same (same includes same html head settings). Why would the characters be dropped?
|
|
|
|
|
Are they being dropped prior to submission (check the values in the form fields), during submission (check the actual POST with Fiddler or equiv), or during receipt (examine the request server-side; if you're doing ASP.NET, then the raw request is available somewhere in the current HttpContext object i believe, but poke around a bit).
My first guess would be that you have the encoding set incorrectly on the last page, causing the browser to "correct" the characters... but a bit of detective work should take you a lot further than that.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Ok, a co-worker was able to help me. The issue was most definately an encoding issue as was stated. I believed that was the case, but had been changing the encoding on the referring and target pages w/o any luck. As it turns out I had to change the encoding on every page in the process and that fixed the problem. Here's the page that saved my hide:
http://www.hanselman.com/blog/InternationalizationAndClassicASP.aspx [^]
Before the changes, this is the value that was passed between the pages:
departmentname=Bo%F1ar+-+Producci%F3n
now the value being passed is:
departmentname=Bo%C3%B1ar+-+Producci%C3%B3n
I appreciate the help given, thank you!
|
|
|
|
|
Hello
Is it possible to embed a WPF user control (made in vb.net) in a web page (written in HTML) ?
|
|
|
|
|
Hi All,
I am facing a problem and hope all of you will try your best to solve it.
I have a requirement to create a page which will work like the Google lab. I have read some articalls and other things but not able to find out how to start and how i can Develop. Please guide me.
Hoping for the responce.
Thanks a lot in advance.
|
|
|
|
|
Google labs is just a set of links to other google applications plus the facilty to add comments etc. What are you trying to achieve here?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi Bob,
Thanks for you reply.
Actually I want to perform the following functionality.
When user enter any character in the text box,system should show all the suggestions related to the entered character. For eg if we press “a” the system should show all the words stored in database which starts with a. Just like google lab. When we press “a” in google lab shows all values which start with “a” in drop down.
Hope you understand what I want to perform.
Thanks again.
RK..
|
|
|
|
|
So its nothing to do with Google Labs, you just want a drop down combo box with autocomplete. You need to bind a combo box to your datasource and (probably) use AJAX to give you your autocomplete functionality.
For further details, google it
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
Sorry, I went to http://labs.google.com as you just said google labs.
Anyway, I had a look and in my opinion its really a fairly basic control that should be easy to reproduce. I suspect getting the performance from the database would be the real challenge.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Thanks Bob, I will try to search something. If you get something related to this please post it.
Thanks,
Rk..
|
|
|
|
|
|
Hi, how can i know and change the status to "downloaded" if the file download is already done downloading?
For example i want to download an mp3 file, since i used mime types i can't control and know that the download process is already finished..
Johnny F.
modified on Monday, July 7, 2008 3:10 PM
|
|
|
|