web-app

Global vs Universal Active Directory Group access for a web app

I have a SQL Server 2000, C# & ASP.net web app. We want to control access to it by using Active Directory groups. I can get authentication to work if the group I put in is a 'Global' but not if the group is 'Universal'. How can I make this work with 'Universal' groups an well? Here's my authorization block: <authorization> <all...

Virtual Private Server Hosting vs. Colo + Own Server(s) for Early-Stage Web-App

I'm working on a web-application and need to figure out the best way to host it. I'm looking to minimize "Total Cost of Ownership," but it's more important to keep hosting costs low than labor costs in my case. Potentially, some day, it will grow quite large (in terms of user-base) with heavy traffic but, of course, it will start out pr...

Authentication combination OpenID & Facebook

Is it possible to use a combination of authentication systems in a web app? I want to use OpenId, however I think my potential customers are actually more likely to have a Facebook ID. Therefore I wonder if it is possible to offer both types of authentication? ...

Best practice in designing a web app user activities logging?

We have a web e-learning type system, and for this project, I am supposed to design an activities logging feature for the whole system so we can track down their daily activities and perhaps help them to be more productive. Unfortunately this system most likely will be used to track the user's work during the official hours ( And the d...

Problem with grails web app running in production: "No such property: save for class: JsecRole"

I've got a grails 1.1 web app running great in development but when I try and run it in production with an sqlserver database it crashes in a weird way. The relevant part of my datasource.groovy is as follows: environments { development { dataSource { dbCreate = "create-drop" // one of 'create', 'create-drop','update' ...

Silverstripe on souceforge project web

how do I install silverstripe on sourceforge for a project. I know I need a synlink...but I don't know how to? I have a htdocs folder that is read only (once on the server) that I can access via sftp it is accsesable via url I have a persistent folder that is rightable (once on the server) that I can access via sftp it is n...

How do I build a user control into a self-contained assembly in VS2008?

More specifically, what do I need to know about doing this in Visual Studio 2008 that's different from VS2005? I have found a decent number of references for doing this kind of thing in VS2005, such as http://webproject.scottgu.com/CSharp/usercontrols/usercontrols.aspx http://stackoverflow.com/questions/323702/techniques-for-distributi...

Getting content: AJAX vs. "Regular" HTTP call

I like that, these days, we have an option for how we get our web content from the server: we can make an old-style HTTP request (with its own URL in the browser) or we can make an AJAX call and replace parts of the DOM on the fly. My question is this: how do you decide which method to use when there's an option to use either? In the "...

Handling multiple 3rd party e-commerce transactions

I am currently planning to develop a web-app which will allow a 3rd party to list and sell their own products on it. While I have experience with developing e-commerce solutions I personally do not want anything to do with the actual payment system myself (legally rather than technically) so that any transactions are between the buyer a...

Web-application configuration outside or inside war file?

A web application usually has at least one configuration file, that contains jdbc configuration and other settings. You can put such file(-s) inside a .war file or outside it. What are the cons and pros of these approaches? What is your approach and why? ...

Jetty: To embed or not to embed?

What are the benefits of embedding jetty vs deploying your webapp(s) in jetty? If you are planning on deploying more than one web app, should you strictly stick with deploying a war file for each web app (as opposed to writing an embedded server which calls each web app)? ...

simplest solution to write a java web app run on tomcat: just list a few db records by id

When asking this I answered myself: use a jsp. But ok, what about a lightweight, easy to use framework? It would be perfect if this framework had Eclipse plugin, so that I could generate all code in one click and simply fill one method body (populate it with the data), then in one click create a war file using a wizard and deploy it...

How to find if the file is a CSV file?

I have a scenario wherein the user uploads a file to the system. The only file that the system understands in a CSV, but the user can upload any type of file eg: jpeg, doc, html. I need to throw an exception if the user uploads anything other than CSV file. Can anybody let me know how can I find if the uploaded file is a CSV file or no...

Design of caching for a medium/small web app?

I have a web app that's currently ~700 LOC in JS (more is serverside). I'm using jQuery. As I find myself trying to minimize AJAX requests to the server, I've got an awkward mix of caching and spaghetti code developing. It feels like I need a more centralized solution. My idea: Create a map with the AJAX call to make (URL and args), and...

Basic principles for securing a web-app?

Possible Duplicate: PHP Session Security I've just finished coding the basics of a web-app (the main code) and I've integrated a basic user system. This is my first web-app so I'm wondering what are the things that I should use to secure it? I already know about thing like mysql_real_escape_string() and strip_tags() but what e...

Which Web based language to learn?

Hi, I have a pretty good Java background and about a year's experience with Android. I was looking to learn a Web based language but I am not sure which one to? It's not necessary that it has any thing to do with Java. But something that will be useful and interesting to learn? I know this sounds stupid, but any suggestions? Thank You. ...

HTML5 audio on iOS4 iPhone offline Web app does not play?

I built an offline Web app (at www.chirp.com) that caches itself when bookmarked on the desktop. Testing on the iPhone4 in airplane mode shows that the program runs without a network connection (except for Google map access of course). But the mp3 sound files do not play in this mode. Is there a problem with the audio tag when running in...

What's the approach to add javascript to a Tapestry application?

I'm starting with an existing webapp built with Tapestry. I can't figure out where to put the Javascript I need. Basically this application has a single page capturing data into a text area, and I want to include a javascript library to do something with that text area. What's the approach to add javascript to a Tapestry app? Any s...

CMS or Framework?

I'm looking to build a online store. However, the first question, past the idea of the store, is the platform. I've previously worked with Java and PHP and am quite comfortable with PHP. So my first considerations were Drupal or maybe CodeIgniter (which I have heard lots of good things about) On discussions with friends, they suggested...

iPhone web-app: HTML5 database and audio files

I'm having issues with audio files on the iPhone web-app. Seems as each time an audio file is played, it's loaded first then played, even if repeating the same audio on a page that hasn't refreshed (done via javascript). From what I've research manifest files would be great but they are for offline application. I'm now researching HTML5 ...