web

How to share CSS StyleSheet amongst projects?

I am seeking some web architecture advice: I would like to know how to share common files, e.g. stylesheets, amongst web applicaitons that span virtual directories and many developers as opposed to having redundant files within each project? What are some recommendations? ...

Objective-C Asynchronous Web Request with Cookies

I am writing a program in Objective-C and I need to make web requests to web server, but asynchronously and I am fairly new on mac, I am very good at windows technologies, but I need to know that if I use NSOperation (introduced in 10.5, i am assuming that it will not run in 10.4 MAC?), or if it was implemented such that it utilizes syst...

Connection refused on Windows XP network

This is only marginally a programming problem and more of a networking problem. I'm trying to get a Django web app to run in my home network and I can't get any machines on the network to get to the web page. I've run on ports 80 and 8000 with no luck. Error message is: "Firefox can't establish a connection to the server at 192.168.x.x....

What methods can be used to secure web services?

I'm interested to know what methods people use to secure their webservices from unauthorized web service consumers. ...

Security review: client credit card# stored on server but with one time pad encryption stored in client cookie.

I'm writing a system where, as usual, the client is asking for a convenience "remember your credit card details" option. I've told them that this is in all likelihood a no-go. However, I did have a good idea (tm) just now, and seeing that Good Ideas in Encryption(tm) are actually Bad Ideas (tm), I thought I'd put it up for review here a...

Photoshop save for web

In Photoshop's "Save for web and devices" dialog, how can I choose the file format that ALL the slices will in, without having to go through and select the format for each slice. I have alot of slices and will need to do this more than once. I'm using Photoshop CS4. ...

How to implement cache for Ajax requests

I have simple application, that shows list of many items, where user can display detail for each item, which is obtained by Ajax. However, if user closes the detail and opens again, application makes another Ajax request, to get the same content again. Is there any simple solution how to prevent this by caching requests on client, so w...

Avoiding IllegalStateException in Java/Servlet web stack

I don't know, but I feel that IllegalStateException is causing undo headache. If I have a request say a JSP or some other servlet and need to associate a filter with that request. I can't do any other modifications to the output to the client if the response has already been committed? For example, I see in JSP code that sets the mime...

How do I know if a regular for is a postback in ASP.ENT (was Why is IsPostback not set in ASP.NET plain forms)

I am using ASP.NET to process plain forms, posting back to myself. (I dont want to use ASP.NET forms, with runat="server ) To IsPostBack is not set when it really has to be a postback. What is the reason for this? Should I not post back to myself? <form method="post" id="theForm" action="http://localhost/index.aspx"&gt; <input type...

How do I run my own web server from home?

Hi, I thinking taking my website off of a shared hosting plan and hosting my own web server to save some $$$. I never hosted a website before and I’m very new to this. I’m using ASP.NET 3.5 and SQL Server 2005 Express. The laptop I will use as the web server runs on Windows XP, 1GB DDR SDRAM, a AMD Turion 64 mobile technology ML-30 / 1....

best way to turn a post title into an URL in c#

hi everybody. I was wondering which is the best way to turn a string (e.g. a post title) into a descriptive URL. the simplest way that comes to mind is by using a regex, such in: public static Regex regex = new Regex( "\\W+", RegexOptions.IgnoreCase | RegexOptions.CultureInvariant | RegexOptions.IgnorePatternWhitespace...

What is the difference between a web application and a client/server application?

I took this from another question I had. Under appropriate uses for sqlite it has: Situations Where SQLite Works Well •Websites SQLite usually will work great as the database engine for low to medium traffic websites (which is to say, 99.9% of all websites). The amount of web traffic that SQLite can handle depends,...

GET vs POST in Ajax

What is the between GET and POST for Ajax requests? I don't see any difference between those two, except that when I use GET, the parameters are send in URL, which for me don't really make any difference, since all requests are made on background and user doesn't find any difference. edit: What are PUT and DELETE methods used for? ...

How do i enable sms notifications in my web app?

I have a web application which i want to enable real time sms notifications to users of the applications. I would like to know how to go about this. Note: i can not use twitter API because i live in west africa, and twitter doesnt send sms to my country Also email2sms is not an option because the movile operators dont allow that in my co...

Java Web Services

Where can I find good Java web services practicals and tutorials (I'm a newbe to JWS so I prefer from the scratch). Thanks. ...

How to get selected text in textarea?

I'm trying to make my own WYSIWYG editor. Is there any way, how to get the text which has user selected in textarea? For example, if user selects some word and then clicks button, how do I find out which text was selected? I'm using jQuery. ...

The best Webdesign Book

What is the best book about Webdesign and mainly CSS that you would recommend for starting webdesigner. Is there any bible like The Art of Computer Programming or Code Complete for webdesign? Does anybody know some video tutorials for Photoshop used for webdesign? ...

css injection, what's the worst that can happen?

We are doing a security evaluation. There is a chance that a malicious user can inject arbitrary css into another user's web pages, although we are not sure it can actually be exploited. I understand he could totally change the page look, even causing nothing to be displayed at all. Is that all? What is the worst that could happen? Can...

Web/HTTP Robot Platform/Framework

Hi all, is there an existing platform/framework for developing Web/HTTP based robots? Actually I'm interested in playing some web games, in which one can build his city, select and training his hero and soldier, and so on.. (such as Travian ) but in the game, such actions need time to complete (I hate waiting..) I try to write a automat...

selenium vs windmill

Selenium vs. Windmill, what are your experiences, what do you recommend? ...