|
On Apr 8, 2019, at 12:57 PM, B Stone <bvstone@xxxxxxxxx> wrote:
I saw the same thing, Jon. Cookies work just fine and are the norm in most
cases.
On Mon, Apr 8, 2019 at 11:48 AM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
I'm guessing from this Nathan that you have seen no performance issues--
with this approach? I know that when I first explored persistent CGI (that
is what you are talking about is it not?) that IBM warned against
performance impacts.
I suspect that it works fine when used in similar situations to
green-screen i.e. a number of known users. Perhaps not such a good idea for
a customer facing site where the number of users is indeterminate.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Apr 8, 2019, at 12:19 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:environment
Sessions. Cookies. The request. This problem is boilerplate for all
interactive web technologies.
Every web application framework for every platform and language
that I'm aware of has support for sessions and cookies. However, the IBMi
native virtual machine environment is somewhat unique in that you canalso
maintain session data by launching unique JOBs for every client session.parsing,
The "Job" maintains all session data, for the duration of the session.
When IBM i Jobs maintain sessions, that saves you the overhead of
saving, and restoring session data for each and every request. It alsoetc.).
saves the transport overhead pertaining to sessions and cookies that are
the common lot of every other platform and language environment.
With a Job-based sessions, you can open as many files and SQL cursors as
you want, with any number of indexes and SQL filters (where clauses,
You never have to re-position record pointers or refresh SQL result sets,between
which is common with other platforms.
Job-based sessions free developers to focus on application functionality
without any thought about what data needs to be saved and restored
client-requests. You can call (activate) as many programs as you want andapplication's
they all share the same session data.
We typically launch a unique IBM i Job every time a user clicks on a menu
item in our web portal. A new tab appears, which displays the
entry-point screen. The portal sends an "end" request to the Job when thelist
"Exit" link is clicked, or after a period of inactivity is reached, which
enables programs to close files, free resources, and finalize processing
before the Job and session are ended.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.