Ajax UIs and Security Contexts

I previously discussed ways to manage user session state in DHTML-only UIs. A very similar problem arises with security contexts: Traditional web technologies like JSP and ASP.NET can link the identity of the user that is established at login to an authentication token that is either sent as cookie or encoded in the URL, just like the session id. If you integrate your session handling with a session-enabled technology as outlined in my earlier post, you can also attach to the security context in a similar fashion.

Continue Reading →

Date posted: May 11, 2009

By Anke Doerfel-Parker

Categories: .NET QAT WebDaptive

Ajax Session Management Part 3 – A Web Service-Based Session Solution

In my previous post I outlined a way of providing server-side user session state to a DHTML UI using native Java or .NET sessions. In this post I want to show another option: a web service-based solution.

As part of the WebDaptive AJAX framework, QAT offers a web service for both Java and .NET that mimics the main aspects of user sessions, including the generation of unique, hard-to-predict ids and customizable timeout of idle sessions. You can create and discard session objects, store, retrieve and delete key-value pairs via web service calls. The session id can be passed to other application components so they can access the session too.

Continue Reading →

Date posted: May 4, 2009

By Anke Doerfel-Parker

Categories: AJAX QAT WebDaptive

Ajax Session Management Part 2 – Integrating with the Java/.NET Session

In my previous post I mentioned that there is no built-in mechanism for associating calls from a pure DHTML UI with user and session-specific state at the server. In this post I want to detail how to integrate with a .NET or Java session. Of course, the same principles can be applied to other web technologies like PHP etc.

Continue Reading →

Date posted: April 27, 2009

By Anke Doerfel-Parker

Categories: .NET AJAX

Ajax Session Management Part 1 – Overview

Often, web applications require storage of user-specific session state at the server. Depending on the application setup, the server will typically issue a session id which is mapped to the user-specific state data on the server. The session id is either transmitted as cookie or encoded in the URL and sent back to the server with each request the browser makes until the session is invalidated (explicitely by code or by timing out) or the browser is closed. Traditional Web applications with integrated AJAX features, utilize the session managament options of their underlying technologies; they work just as when using the base technology without AJAX enhancements.

Continue Reading →

Date posted: April 20, 2009

By Anke Doerfel-Parker

Categories: AJAX QAT WebDaptive

AJAX Implementation Strategies

This is the second installment of my AJAX overview. If you missed the first part, you can read it here. In this post I’d like to show two different approaches that AJAX frameworks usually take.

Server-side frameworks with AJAX integration
Some AJAX frameworks combine dynamic page generation with AJAX components. This allows seamless integration of AJAX features with the advantages of the respective server-side technology. Much of the content is still dynamically created on the server like in a traditional UI but additional JavaScript code is added by the framework enabling AJAX-based features.

Continue Reading →

Date posted: April 7, 2009

By Anke Doerfel-Parker

Categories: AJAX QAT WebDaptive

Behind the AJAX Buzz

AJAX is one of the most commonly heard buzz words when it comes to Web user interfaces (Web UIs).  I have now been working on several Web UIs using AJAX techniques and would like to share a few insights. I will start off with a review of how traditional web applications were – and still are – coded and how AJAX fits into this picture.

Continue Reading →

Date posted: March 19, 2009

By Anke Doerfel-Parker

Categories: AJAX QAT WebDaptive

Connect with us: