× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



HiI already have web application which is calling RPG program and the way we
do it, we make sure that each user gets on job on AS400 and so we can add
anything in QTEMP and it is for the same user.

But, i am not working on web application, i am working on a RPG application
which wont be called from web application,

What i am trying to do it bring HttpSession type function in RPG using QTEMP
library,
What i am trying to say is how can i use QTEMP like HttpSession in a RPG
application (Not a web application),
What i want to do is store temporary information in QTEMP and then read it
back when i need it,

Ash

On Thu, Aug 13, 2009 at 2:26 PM, Chamara Withanachchi
<chamaraw@xxxxxxxxxx>wrote:

Hi,

We are doing the same for our reports, users are coming through our web
site and requesting reports. All reports run in our i and creating results
in a table in QTEMP and our web program access it.

All heavy processing happning @ the RPG.

This can be done if u r doing in dame web session with out any problem.



Regards,

Chamara Withanachchi
IBM Certified Power System Expert
RPG Programmer
(owner of www.rpgiv.info)

WWW.RPGIV.INFO
Mob: +971 50 5698644
Tel: +971 6 5595887
chamaraw@xxxxxxxxxx
www.rpgiv.info
i want to be future ready. i want control. i want an i.


Sent from my BlackBerry® wireless device

-----Original Message-----
From: Ashish Kulkarni <ashish.kulkarni13@xxxxxxxxx>

Date: Thu, 13 Aug 2009 11:12:38
To: <rpg400-l@xxxxxxxxxxxx>
Subject: Can i use QTEMP as HttpSession


HiIf i am doing web development i can use HttpSession to
store temporary objects, i can use setAttribute to save object and
getAttribute to get this saved object back. I can store any kind of
information to pass along to different web pages etc.

Can i use QTEMP in same way, off course there are no methods to do so, i
was
thinking like creating a table with key and value, but this would not
handle
various data types, i wont be able to save char, or decimal into to.

But this would be still useful to save all information as char and then
write and read from this table using a service program or copy book
function.

Any suggestions, has anyone done some thing like this before?

Ash
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.