web-applications

How to manage user authentication/sessions?

What is the best way to manage user authentication/sessions in a web app, ideally in a clustered environment, using Spring Framework/MVC? I thought of creating a login bean that creates a jsession for authenticated users and then using AOP to check for the jsession before each controller method inovcation. If there isn't a better way,...

ASP.NET ListView - Scrollable with fixed headers using CSS

I am using an ASP.NET ListView control and, at the moment, I have a scrollable grid: (example below is simplified and contains embedded styling for sake of question) <asp:ListView ID="ListView" runat="server" DataKeyNames="Id"> <LayoutTemplate> <div style="height:225px; overflow:auto;"> <table runat=...

Web publishing system with code highlighting

I'd like to publish some of the many programs I've written on the web. Is there a syntax highlighting Linux web publishing application (CMS/Blog/RoR app) that displays syntax for C++, Python, Bash scripts, SQL, VBA, awk, Erlang, java, makefiles, Ruby, Pascal and other languages? The more syntax settings configuration files, the bette...

Process job in application server or in a separate process?

Say I have a web application. I have a front end web server for serving static assets and 3 http-speaking application servers. I need to process some background jobs. The natural thing to do is to start up a separate process in the background to the process the job. However, I'm wondering if that's necessary - and why this is the normal ...

hide keyboard in iphone safari webapp

I'm creating a webapp for the iPhone, based in HTML/CSS/JS. I'm using forms to receive input and pass data to the script, but a problem I'm encountering is that the keyboard won't disappear. The user will enter the information, hit submit, and since it's JavaScript the page doesn't reload. The keyboard remains in place, which is a nuisan...

File Storage for Web Applications: Filesystem vs DB vs NoSQL engines

I have a web application that stores a lot of user generated files. Currently these are all stored on the server filesystem, which has several downsides for me. When we move "folders" (as defined by our application) we also have to move the files on disk (although this is more due to strange design decisions on the part of the origina...

best approah (security) to do some admin work through web page in Linux?

Hello, I want to build a web based admin tools that allow the system admin to run pre-configured commands and scripts through a web page (simple and limited webmin), what is the best approach? I already started with Ubuntu installing LAMP and give the user www-data root's privileges !!! as I learned (please check the link) this is a re...

Hotkeys in webapps

When creating webapps, is there any guidelines on which keys you can use for your own hotkeys without overriding too many of the browsers default hotkeys. For example i might want to have a custom copy command for copying entire sets of data that only makes sense for my program instead of just text. The logical combination for this woul...

Auto fill web page using ASP.Net C# web page

I need to write a ASP.Net C# web page that can open a web page, fill in the fields and click the submit button on the web page automatically. My web page should launch the IE browser and navigate to a specified URL and fill the form and submit it. Not sure where I should start from. Any help is greatly appreciated. Thank you. ...

IIS Not working

I have a web site that built on Visual studio 2008 and i need to run it from my computer (Win 7 Ultimate) as a server I tried to publish it to IIS and this is simply not working and i have the flowing error : Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuratio...

What kind of security issues will I have if I provide my web app write access?

I would like to give my web application write access to a particular folder on my web server. My web app can create files on this folder and can write data to those files. However, the web app does not provide any interface to the users nor does it publicize the fact that it can create files or write to files. Am I susceptible to any sec...

What is the coolest feature you’ve ever seen in an internet banking application?

Or, maybe you have the killer feature that you would add to internet banking application? On the other hand, what is the most annoying feature you have seen? How would you make an internet banking application stand from the rest? ...

Scanned value(using scanner) in the textbox

Hi All, I am using Scanner(basic model) to scan the barcode. Scanned barcode will be captured in a textbox. In txtBarcode_TextChanged event i am getting the barcode to access. Problem: If i clicked the scanner more than once, the barcode gets append with the previous value. Code: protected void txtBarcode_TextChanged(object sender...

Run GTK+ application in client browser

I've been searching for ways to run a GTK+ application on a browser. WebKit and its associated GTK+ port seem to do the opposite - making applications more Web-friendly, but the opposite would also be nice. There seems to have been some activity to realize that for XCode, with Cappuccino and Atlas, that can translate NIB files into CIB...

Web application vs. web services vs. classic application

Please I need help. I have project in which I need application which communicates with local DB server and simultaneously with central remote DB server to complete some task(read stock quotas from local server create order and then write order to central orders DB,...). So, I don`t know which architecture and technology do this. Web app...

Blackberry apps: Native or webapps?

Dear all, I have read the Blackberry documentation and it is possible to push a notification from a webapp. I am planning to create a Blackberry application that compliments to our webapps. But I am still left in the middle whether to develop a webapp or native Blackberry app. I have also look at how a webapp runs on Blackberry browser ...

Terms and conditions of using RSS feed content

hi all, I want to use the RSS feeds from several sites. I wanna know the terms and conditions of using the content from RSS feeds. Is it possible to copy the RSS content from the feed url and put it in my site with refrence links to the feed provider..? ...

SQL Server and MySQL connection pooling: is it really important?

After a lot of problems with my web host, I disabled connection pooling within my application. The problem was related to the number of concurrent connections : only five. The result is that my web app doesn't crash. I didn't notice any poor performance after disabling it. Are there any "collateral" or side effects to disabling con...

How to access a website's url programmatically from within the page

For work, I am working on a site that has a feature that lets users make custom instances of the site depending on who they want to show it to. So if they want to show their potential employer a little bit about themselves, they can send them a custom url, that has a uid on the end of it that tells the database what to show and what not ...

Quick to develop web app in Java

Hi all, I need to develop a basic web app very quickly (1 week) for a demo. My requirements are Java (I need to make use of existing Java libraries to access the relevant data) 2 screens One for static data view, maybe some search parameters Other for basic form entry No fancy AJAX required Ideally easy for a web designer to come in ...