web

Why does conversion tracking use pixels and why do images potentially expose information about you?

First, why (historically) was conversion tracking implemented by html pixel tracking versus using other small and able-to-be-made-nearly-invisible html elements which could provide the same information? Curious why html images were used as opposed to other methods. Second, many email clients, e.g. Outlook and Gmail don't display images...

web based java application to read LDAP

I want to make a web based Java application that reads an LDAP compliant directory and creates a record in a database for each user and group in the directory. How can i go about it? ...

How can I post to a facebook wall from a c# web service?

Hi All, I've tried a bunch of things and can't figure out how to post content to a facebook wall from a web service. Does anyone know if it's even possible? It seems like the only way to post content is to include a sign-in page within a web site, which isn't what I'd like to do. For twitter, I was able to tweet a message in under 10 lin...

long running process behind .NET service

I would like advice from the architecturally minded on the best framework or method for the following: server: a windows service in .NET client: any mainstream language, a combination of .NET app/web app, and also some clients that are Ruby on Linux. One idea I had was to have the Windows Service expose itself as a Web Service, and su...

Path to css and images

Hi. For example I have site http://localhost/site In IIS I set that 404 error causes redirection to default.aspx If I type something like http://localhost/site/nodirectory , (there are no such folder) all works perfectly. But if I only add slah at end http://localhost/site/nodirectory/, page can't display css and images. Images and c...

.htaccess redirection - two sharing websites

I have two websites that is actually the same where example.com shares all files from examples.com. So whatever changes made in exampples.com, example.com automatically gets updated. That means they have the same .htaccess file. The problem is, I want to both sites redirects to non www to a www url. I got this: RewriteEngine on RewriteC...

Cache the DTO or cache data from the expensive resource

I have a WebService that returns a DTO. The webservice gets the data to populate the DTO from an expensive resource. In this simple example, several WebService methods may hit the same ExpensiveResourceProvider method. Where is the best place to perform caching to maximize cache hits? At the webservice or at the ExpensiveResourceProv...

Why is performance on a webpage so different between IE and a WebClient? (TREEVIEW!!!)

I've seen some similar posts, but nothing quite like this... I have a website (Sharepoint). When I access a particular page that has many custom-coded webparts on it, the page takes ~30 seconds to load. I've used Firebug and confirmed that the long load time is the server working (in the "Net" tab the webpage timeline shows ~30 seconds ...

How do I display a gif animation to the user while a picture is loading (in the web)?

The problem: I have set of pictures, when the user presses on one of them, it's grow to an area in the page. The exchange of the pictures is done with the help of js. Tthe picture is weigh about 0.5M, therefore it's take about 3 sec until the picture is showed. I would like to present a type of animation while the picture is not displa...

calling web service from .net app

i added web service as reference to a project and gave it name "days". but i dont actually understand how to work with it. can someone show me the way how to get data from it. in posh i get data from web service this way: $ws= New-WebServiceProxy -uri $xmld.Root.WebService.Address -credential $cred $xml = $ws.getdays() $xml ...

How to scale a website for mobile devices?

Hi, I've a very simple static web page (only css and links, no scripts). It looks good on android and iphone, but too small. I'm guessing they put it smaller since it work for most of the sites. How can i override this and make him look the size i want it to be? Thanks in advanced, Koby ...

Why is request method send to web server called GET and POST?

I guessed that the name of each of the request method has a relationship with the operations they performed in some manner. But I can't get it! Detials: GET means posted argument are showed in the url and POST means they are sent but not shown in the url. But what is that related to POST/GET? What is gotten/posted or what does the post...

Method to capture a screenshot of user's browser to aid in bug reporting

I'm looking for a way to make it easy for technically unsophisticated users to submit screenshots of their browser to me, to aid in debugging web application problems. There will be a button on all pages inside a web application they can use to report problems, which I would like to submit a screenshot (among other things). http://ww...

What's the justification behind disallowing partial PUT?

Why does an HTTP PUT request have to contain a representation of a 'whole' state and can't just be a partial? I understand that this is the existing definition of PUT - this question is about the reason(s) why it would be defined that way. i.e: What is gained by preventing partial PUTs? Why was preventing idempotent partial updates c...

Disabling Webkit Form Input Shadow

Is there a way to disable the colored shadow generated by Webkit browsers when a form element receives focus? It's yellow in Chrome and blue in Safari, and gets in the way of any custom focus styles I try to implement. ...

Detect framework version 3.5

I'm developing an XBAP (Partial trust) application, with multiple (~100) users. In the next version the prerequisites have been bumped from framework 3.0 to framework 3.5, and we need an easy way to detect the framework version of each client machine, and advise them on whether they need to upgrade or not. Any ideas or suggestions on ...

Where to start to develop a nano web framework for language X?

I want to be able write a very very simple MVC web framework to understand how the things work behind well known frameworks such as Django or RoR. My aim is not to develop a new framework (I probably couldn't anyway :)) but to learn things as I "try" to write one. Can you recommend a book, article etc.? Where do I start for such a thing...

Rendering HTML on Windows Mobile 5.0

Hi, I am trying to make an application which will allow me to render HTML and display a web app. The first idea would be to use a browser control. The issue I am having is the web app responds to outside events such as scanners hooked up to the actual device. For example if I have a bar code scanner hooked up to a Windows Mobile 5.0+ d...

Sleep function uses server resources?

I've got two reasons to use a sleep function: first, to automatically send a confirmation email to a client 20 minutes after they contact us. I don't want to use cron jobs because I want it to be exactly 20 minutes (and I'm sick of my web server sending me emails telling me they initiated a cron job.....a new email every 20 minutes!) Se...

Stateful Java Web Services and .NET Client

Please provide a sample stateful webservice in java which would be accible in both java and .net clients. ...