web-development

problem with axis client stub timeout

Hi, I am writing an application which uses web services to connect a remote server.I have written a method to ping function to determine if the server is online or not(i.e. its providing the web services which can be accessed using host:port).I am executing a simple web service with a 2 sec timeout(available as an option in stub class b...

Should platform specific config be in app package?

At my place of work a few people think it's OK to have platform specific configuration items (things like back-end host names/IP addrs, DB connection details etc) imbedded (as .properties file(s) ) in application packages (a Web App .war file). I think this is a bad bad thing for the following reasons: there needs to be a separate pack...

Updating Files on Apache

I'm having trouble with my Apache Web Server. I have a folder (htdocs\images) where I have a number of images already in place. I can browse them and see them on my web server (and access them via HTML). I added a new image in there today, and went to browse to it, and it can't be found. I double and triple checked the path and every...

Speeding up web development

Situation I have been working on a project lately where the UI development seems to be way too time consuming. In this case, the "Business Rules" on the server-side are much more complicated than the presentation aspects as far as a Computer Science or complexity perspective. I've found myself scratching/banging my head against the wa...

ASP.NET or Ruby on Rails for someone new to web development?

I have experience in client-server application development in C/C++ on Windows platform. I would like to get into web based application development. I have an understanding of web application development concepts in general. Which web application development framework would be the quickest to learn/master? I am currently learning .NET an...

JavaScript file not reloading in browser when modified on server

So I have this ASP.Net 2.0 website that uses functions contained within a JS file. When a webpage loads the js file loads fine. But when I change something in that file on the server the changes are not propagated to user's browser. It keeps working according to the out dated file. How can I force the browser to reload the modified file ...

Popup Alert in ASP

I've just started using ASP, so while programming the code behind in C# I was surprised to find out that MessageBox was not available to me to make a confirmation popup triggered by a button click. While googling I noticed a lot of suggestions to use Javascript, but was hoping to avoid adding another language to my code. I tried to imp...

Java v/s PHP, how do this technology stack up for Web Application Development ?

Hi, I am new to Web Programming and I hear that there are many biggies like Java, .Net and PHP for Web Application Development. I would certainly appreciate if I can get some insights on how this technology stack up in comparison and in what scenarios one would prefer one technology over the other. Thanks for all guidance in advanc...

What security issues we acquire if we publish a form that lets you upload any type of file into our database?

I am trying to assess our security risk if we allow to have a form in our public website that lets the user upload any type of file and get it stored in the database. I am worried about the following: Robots uploading information A huge increment of the size of the database The form is an resume upload so HR people will be downloadi...

XHTML and CSS books

I would like to learn moders XHTML and CSS programming. Does someone has any good book suggestions where to start? I would like to have a book where I can learn those languages completely or as much as possible and I can use them if I get trouble on my web-programming projects. And of course I would like that my sites passes web-standard...

What Unicode character do you use in your website? (instead of image icons)

I am looking for character which could replace image icon, for example like ✘ (xmark) and ✔ (tick), maybe some symbol to "draft" or "new message"? EDIT: Fav: ❤ Draft: ✍ Message: ✉ ...

c# how to set up and use session state from preinit

OK so to set and read variables from the current session String Myvar =(string) System.Web.HttpContext.Current.Session[“MyVariable”] To set System.Web.HttpContext.Current.Session[“MyVariable”] = “NewValue” I can do neither, I get a System.NullReferenceException: Object reference not set to an instance of an object. from System.Web....

Trouble with jQuery Animation

I'm fairly new to jQuery and I'm having trouble with an animation that I'd like to do. Say I have some drops downs to filter content that use this HTML: <table class="calFilter"> <tr> <th> <label for="ddlDept">Show events hosted by:</label> </th> <th> <label for="ddlEventType">Select event type:</label> ...

PHP creates image file but only works on local dev, not at the remote server

I have a code that dinamically resizes an image and sends it to the browser. But it doesn't work properly... only if I ask it to output the image to a file instead of the browser. I don't think the problem is my code, because this problem only occurs on the real server; in my computer its working perfectly. Code: $img = $_GET['img'];...

Securize a web-app with the mac adress

I'd like to know if it's possible to get the mac adress of a client with a javascript, It would be a good way to securise web-app. (eg. Limit one license p/ Mac Adress) ...

How do you measure site load time in IE6?

I'm looking for something similar to Hammerhead. Currently, I write javascript code to test, and I'd rather just use a tool that I can easily share and has a GUI. Edit: I'm hoping for something that tracks load events if possible and can easily do repeat tests. ...

interactive web and desktop applications

hi, From my desktop application based on user option i want to launch web application which serves an html page which will be displayed in my application window. To display contenet in HTMl i need to send an object to web application from desktop application. Again for html request to web application i need to send some info from web...

Firefox auto-refresh on file change

Does anyone know of an extension for Firefox, or a script or some other mechanism, that can monitor one or more local files. Firefox would auto-refresh or otherwise updated its canvas when it detected a change (of timestamp) in the files(s). For editing CSS, it would be ideal if just the CSS could be reloaded, rather than a full HTML re...

How can I change the look of an ASP.NET page without recompiling code?

I am looking at taking on a new web development project and the customer has two big specifications the first is that they want it developed in .NET and the second is that they want to be able to change the look and feel of the page without having to recompile code. While I am new to ASP.NET I am familiar with the concept of Model View ...

XML file replacement program? (web.config/WDP related)

I've been running into alot of limitations with the web.config replacement code in VS 2008's Web Deployment Project. Some of these seem to be: Sectionsgroups cannot be replaced, only sections. Now if I just knew what sections was. There seems to be some requirement behind the replacement. It's not just a "dumb" textual replacement. Thi...