comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: [OT] Re: New AWS-based website
Date: Fri, 13 Apr 2012 18:09:29 +0200
Date: 2012-04-13T18:09:29+02:00	[thread overview]
Message-ID: <4f884fb9$0$21475$ba4acef3@reader.news.orange.fr> (raw)
In-Reply-To: <87aa2gcaks.fsf_-_@adaheads.sparre-andersen.dk>


Jacob,

> And now that you've got me started; why to most web developers insist on
> keeping the details of my state hidden inside their system, instead of
> storing the state in cookies?  (It would avoid the whole mess of
> sessions timing out for no apparent reason.  And it would allow the more
> adventurous visitors to adjust the state as needed.)

Because cookies are limited in size and are sent with every request. So
to save bandwidth it is far far better to not use cookie for session
management. It is better to use them as id management and then store the
session data into an internal structure in the server.

BTW, using the Web Block support in AWS it is quite easy to build
complex templeted system with Ajax with an elegant session named
context. Give it a try!

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B




  reply	other threads:[~2012-04-13 16:09 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10 22:10 New AWS-based website Maciej Sobczak
2012-04-10 22:42 ` Ludovic Brenta
2012-04-11  1:15   ` Jeffrey Carter
2012-04-11  7:15     ` tonyg
2012-04-11  7:21   ` Maciej Sobczak
2012-04-11  7:07 ` tonyg
2012-04-11 11:18   ` Maciej Sobczak
2012-04-11  7:18 ` Pascal Obry
2012-04-11 18:40 ` Shark8
2012-04-12  7:35   ` Maciej Sobczak
2012-04-13  8:05     ` Ludovic Brenta
2012-04-13  9:31       ` Dmitry A. Kazakov
2012-04-13 13:50       ` Maciej Sobczak
2012-04-12  7:45 ` Thomas Locke
2012-04-12  8:30   ` tonyg
2012-04-12  9:17     ` Thomas Locke
2012-04-12 14:07   ` Maciej Sobczak
2012-04-12 14:28     ` Thomas Locke
2012-04-12 20:00       ` Shark8
2012-04-12 20:31         ` mockturtle
2012-04-13  8:14         ` [OT] " Jacob Sparre Andersen
2012-04-13 16:09           ` Pascal Obry [this message]
2012-04-13  7:35       ` Maciej Sobczak
2012-04-13 14:11         ` Thomas Løcke
2012-04-13 16:10         ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox