[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: design problem

  • From: Al Snell <alaric@a...>
  • To: "Birney, Kenneth" <Kenneth.Birney@s...>
  • Date: Wed, 31 Oct 2001 12:59:57 +0000 (GMT)

kenneth birney
On Wed, 31 Oct 2001, Birney, Kenneth wrote:

> Ive got work project to do. Ive gotta use a browser based interface on the
> client to view data from a database. no problem there. However, ive got to
> allow the user to set up how they want to see the data. i.e. text size color
> font ect. this set up must be remembered for each user. Any ideas on a
> design for this? i know this is a bit vague but any ideas are most welcome.

Send 'em a cookie. Have a PHP/ASP/CGI/whatever page that gets the cookie,
assuming defaults if the cookie isn't there. This page uses those settings
to produce an HTML form for all the settings with the current values
selected. Hitting Submit posts to a PHP/ASP/CGI/whatever that sets the
cookie from the chosen values.

Then have a PHP/ASP/CGI/whatever page that generates your XSLT or
CSS or wherever you specify the colours and stuff (CSS is best), slotting
the values from the cookie (or defaults if the cookie is not set) into the
blank.

>
> kenny
>

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.