Home Projects Jobs Clientele Contact


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing "Create Topic" [was: Identical UMO titles in UU]

When, generally speaking, it is better to use stored procedures and when
html or query string is better to store data in between requests?

Ilya A. Volynets-Evenbakh wrote:
> Don't confuse passing data between requests with passing data within
> request. When data is only relevant withing single request (i.e. piece of
> information retrieved from the database, passed to CSP for rendering),
> you _should_ store it in the request.
> When data persists between requests, you can either store it in HTML as
> hidden field or part of a link, or some such, or you can store it in
> the session.
> Each have their own appropriate uses. Just do not forget about that.
> sergey@total-knowledge.com wrote:
>> Hmm... My approach was the opposite - I was trying not to store data in
>> the session, but in request. Ok, I'll store it in the session object
>> then.


Anatoly Volynets, Co-Founder

Authoright © Total Knowledge: 2001-2008