web-applications

storing code snippets in a database

Hey everyone, I want to make a code snippet database web application. Would the best way to store it in the database be to html encode everything to prevent XSS when displaying the snippets on the web page? Thanks for the help! ...

Tomcat JNDI: managed stack of objects

I have a class class ObjFactory { MyObject getObject() {...} void returnObject() {...} } How can we configure Tomcat so that it would provide this factory through JNDI and manages this factory? Say, one web app should get access to this factory and it must exist only 1 factory in Tomcat, every copy of a web app references the same ...

What are the dangers in exposing static resources of your secure web application unsecured?

We are creating typical web applications secured by https. In order to be able to cache static resources, I would like to expose images, javascript files etc. over http. Otherwise they don’t get cahched. Is this advisable from security point of view? What are the risks involved? EDIT: I would like to have static content cached by proxie...

MVC design question for forms

Hi, I'm developing an app which has a large amount of related form data to be handled. I'm using a MVC structure and all of the related data is represented in my models, along with the handling of data validation from form submissions. I'm looking for some advice on a good way to approach laying out my controllers - basically I will have...

$_FILES is null, $_POST is not null

When I am going to upload a file, my $_POST variable knows the file name, but the $_FILES variable is null. I've used this code before, so I'm really stumped. Here's what I'm using for input: <label for="importFile">Attach Resume:</label> <input type="hidden" name="MAX_FILE_SIZE" value="10000000"> <input type="file" name="importFile" i...

webapp, tipfy or django on google app engine

which one are you using on google app engine? what were the reasons behind your decision? ...

Is "Server not found" error related to Activclient?

Users are getting sporadic "Server not found" errors after idling in the browser. We have a HTTPS web application (Apache/Tomcat) using NSS for authentication on the server. The error occurs when a user opens the application and later lets it sit idle/untouched for 15 minutes. When they try to access the application they can get a "Ser...

Automated download of website content using ASP.net

Using ASP.net, what methods can I use to do the following: Open up a connection to a given URL to read HTML content Parse the given URL for hyperlinks, and place them in an array Loop through each hyperlink (only 1 level down), opening each one, saving the HTML contents in a table, and move to the next hyperlink until done. If ASP.ne...

how many concurrent user can login to silverlight application?

Hi, I am newbie in silver light. Can any one tell me how many concurrent users can have in silverlight application? ANd also what happes to the aplication if we have more than 500 concurrent users? Regards Chinnayya ...

Websites and web applications?

(From the point of view of a user, not how it's built or which option is selected in Visual Studio) ...What is the difference between a "website" and a "web application"? Is there a difference? Are there characteristics that characterise the two? ...

Custom extension download problem

Hi all, In my web application, I am generating a document with a custom extension and providing the user with the link to download. The download fails with custom extension but goes fine with predefined extensions like "xml". I have no idea what is going wrong! Is this some kind of access rights problem? I am running it under Windows 2...

ASP.NET Web App to compare performance on different hardware?

I'm looking for an open source C# ASP.NET Web App that can be loaded onto 2 or more dedicated servers and provide me with metrics on how that server is performing. E.g. Click on a page and the app does a number of in-memory iterations and/or calculations to test processor throughput. Another page would do a bunch of disk access and repor...

Best way for a remote web app to authenticate users in my current web app?

So a bit of background, I'm working on an existing web application which has a set of users, who are able to log in via a traditional login screen with a user name and password, etc. Recently we've managed to score a client (who have their own Intranet site), who are wanting to be able to have their users log into their Intranet site...

Analysing a Visual Foxpro application to derive requirements. Tools/approaches/practices?

Hello. In an upcoming project I am supposed to re-engineer a huge Visual Foxpro application into a web-application. The target platform is .Net. The application from the end-users' perspective is very complex (complex forms, reports, navigation, etc). The sorry state is that there are no documents available from which I can derive, busi...

How to check user password in ldap whith java with given LdapContext?

I do have a web-application, where users must log in. The password is stored in a LDAP server. All information about the LDAP server are stored in the application server (glassfish) as external jndi resource. So my application does no know anything about the LDAP server and only gets a LdapContext like this: @Resource(name = "ldap/user...

Building Web Application project using MSBuild from command line on 64-bit: missing targets file

Building a solution containing a web application project using MSBuild from powershell like this: msbuild "/p:OutDir=$build_dir\" $solution_file Works fine for me on 32-bit, but on a 64-bit machine I am running into this error: error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplication...

Client-side framework for web-app with good audio support

I'm trying to create a client-side web app that generates music procedurally using some user-input parameters, so I'm looking for a framework (e.g. Flash, Silverlight etc.) that has the capability to play audio at a specified pitch. Whether it is playing a WAV/MP3 file, using MIDI output, or just playing beeps doesn't really matter -- I ...

CMS common Architecture

Hi there, I know this is a weird question to ask, but I would like to know if there is any documentation/blog-article out there that explains the architecture of a Website content management system? More particularly, I am interested to learn more about how "widgets" are implemented. I can't remember which system it was that I've seen ...

Knowledge base web app -- need a demo mode

I was contracted to build an on-line knowledge base that searches and cross-references many thousands of replacement parts for a niche industry. My client furnishes this app to his customers on a subscription basis. It uses MySQL and PHP and it works great. I want to deploy it in "demo mode" to sell my skills. I want the user to se...

Back out plan for a Web App

We need a back out plan for a web app whose first maintenance release is going to production soon. The issue we are facing is even if we back out new EAR and deploy old one , the data which was keyed in using new release would not support old business rules(current), since there is enormous changes in business rules. Can you suggest...