web-applications

ASP.NET 2 Session State Between Authenticated Users

I am developing a website for a client (ASP.NET, T-SQL). It is a data-entry website allowing many of their users to login and manipulate records in the same database. There are instructions (basically a list of string) throughout the form, telling the users what to do for each section; these instructions are themselves present in the da...

How do you manage concurrent access to forms?

We've got a set of forms in our web application that is managed by multiple staff members. The forms are common for all staff members. Right now, we've implemented a locking mechanism. But the issue is that there's no reliable way of knowing when a user has logged out of the system, so the form needs to be unlocked. I was wondering if th...

How do websites change content without refreshing the whole page?

For instance, on most blogs you can click on an article and it will take you to the article without refreshing the banner at the top or the navigation bar. I always thought that this was done with javascript, but I found that these websites still work even when I disable javascript. Similar questions were asked here and here and the an...

Google App Engine: status code 403

How can I response a 403 status code? I was following some example which had this: raise webapp.Error(403). So I thought that this would give me a 403 but it just gives me a regular 500 server error instead. This is complete example: def administrator(method): ''' credit: http://github.com/btbytes/teh/blob/master/utils.py...

Multiple request to a SQLite-based web page

Hi all, I develop web applications and I always used client/server databases (like MySQL) to store the application data. I would switch to an integrated DB engine like SQLite. I have a question. What happens if I have for example 1000 users visiting the web site and typing text in a textbox with suggestions (lots of request to the serv...

asp.net web application fails to recognize user identity

We have a web application and it uses System.Web.UI.Page.User.Identity to determine who the current user is. We are experiencing an intermittent problem, where a user is not recognized (their identity is blank or empty). Anonymous authentication is disabled so I don't see how they can fully access the web application without it recognizi...

UnicodeDecodeError when passing GET data in Python/AppEngine

This feels like a really basic question, but I haven't been able to find an answer. I would like to read data from an url, for example GET data from a querystring. I am using the webapp framework in Python. I tried the following code, but since I've a total beginner at Python/appengine, I've certainly done something wrong. class MainPa...

iPhone HTTPS works as webpage, fails as web-app

I configured my web server to use HTTPS instead of HTTP. I used openssl to generate an X509 certificate and private key. When I connect using FireFox it warns me of an "Untrusted Connection" and allows me to add an exception to continue. When I connect using my iPhone's Safari web browser it does the same thing. I hit accept to the secur...

How's the "stairway to heaven" in web development formed?

Ok, I know the answer for this question may not be objective but I couldn'think for a best place to post it. However, I think it can be approached from an objective point of view and the discussion may turn into a very nice guide to the subject. So, the question is: How would you position web development skills from the bottom until the...

Automation Tool: Which one is preferred to test a web application?

I have to test a web application which uses PHP, Javascript and AJAX. I want to automate the testing using automation tool. I am new at automation tool, but manual testing for the web is a big burden. I will use the tool for functional testing and hopefully, it also can help me for system testing. I have found some of automation tools ...

How to implement single sign-on for Web applications?

What are the strategies for implementing single sign-on in web applications? ...

Easiest way to integrate J2SE app with a Web app

I have a really simple J2SE app that consists of a couple of classes. I plan to make it available to my co-workers, and I've been thinking the easiest way would be for them to access it from a browser, instead of distributing the executable on each machine. What's the easiest method/framework that would allow me to do this? This app is ...

2 applications running on tomcat and cause out of memory. Is it because of low memory on VPS ?

We are trying to run 2 applications on tomcat which is on VPS. The memory allocated is 512MB and burstable ram is 1256MB. Now both both these applications have unique class names as folder names are different. These are Java, JSF , Spring , hibernate applications. Both of them are under respective folders packaged as two different wars....

What are the big web frameworks today?

My team at work is going to start working on a website with a medium amount of business logic and a large amount of database. soon. We've got to pick a language and a framework to build it on, but we're not really sure where to start. There are literally a zillion options. All we need is something that hooks into database, something ...

Is there an alternative to HTTPS for securing a web site?

At work we are always having numerous problems with our x.509 certificates that we use for https and I was wondering is there a useful alternative for securing the communication between a server and the browser. Edit Could also be that we are using IIS x.509 and WCF ...

Why pass a query parameter to an image file (/img/button.png?123456789) from inside a HTML page?

I saw this in a HTML template for a web app: <img alt="mybutton" src="/img/button.png?123456789" /> What I didn't understand was why the ?123456789 would be passed to the image file? (in the actual app, the number that was actually passed seemed to be customized to the user's session or unique id perhaps) ...

What is the application server on Windows?

If I look at something for Java I an see JBoss, WebSphere, others. Ruby I guess could be Ruby on Rails (I don't know if that qualifies), but for Windows is IIS and the .NET runtime the application server in the Microsoft World? The other languages had to come up with what Windows has by default with IIS and the .NET framework? edit: ...

Help in choosing a programming language

I am a student of std.7 and learning GW-BASIC in school. BASIC doesn't suit my needs and other languages will start from std.9 I can't wait that long (I'm sick of BASIC). I am trying to choose some other good programming languages. (I know this question is silly) Desktop Application Programming and Web app design are my main goals. I d...

How to post form to my server and then to API, instead of posting directly(for security reasons)?

There is an integration with an API for conducting live online classes. The API wanted us to post a form to their site along with a parameter called customer_token as an input field. It is used for authentication by the API and every customer site is assigned one token. The customer token is actually some hashed value of the domain name...

suppose GMail has issues, what would Google do?

Today if i login into g-mail.after 3-4 days also i could see my account without logout. If everybody in this world do same thing,maintaining connections in a pool becomes difficult(may be because of Memory constraints).So if an account is idle after 2-3 days i think it is better to disconnect (disconnected one can be used for new connect...