phweb question specific to vms
Daniel.Miller@nightfreight.co.uk
Daniel.Miller@nightfreight.co.uk
Fri, 2 Jul 2004 15:01:33 +0100
I should say it phweb 840D on vms 7.3
> -----Original Message-----
> From: Miller, Daniel
> Sent: Friday, July 02, 2004 2:56 PM
> To: Powerh-L1 (E-mail)
> Subject: phweb question specific to vms
>
> hello all,
>
> my situation is as follows:
>
> Phweb screen A creates a unique physical rms indexed file with "run command" and then sets a process level logical with "setsystemval" that points the open name of a file in the dictionary to it. The screen is then able to put data into that file and pass the file name to screen B as a parameter, its a hidden field on the page. This is all in one procedure, which deassigns the logical with deletesystemval before finishing.
>
> Phweb screen B then sets a logical to the passed filename and then reads the data from this file.
> It then does a deletesytemval before finishing.
>
> The idea is each person who uses the website gets a unique temporary file with only their data which are cleared off the system after a couple of days. Id prefer this to one big indexed file which all website users would have to access which i guess would need to be cleared daily or some such.
>
> However this technique only works the first time, in subsequent uses of the page it keeps picking up data from previous uses. It appears that with all the subprocesses with the dispatcher and phwebservers the logical is still assigned somewhere. Similiar to with dcl subprocesses for run commands etc in normal ph.
>
> My current thinking is that its not going to be possible to do this and im assuming to much about how phweb works, unless anyone has any ideas? Or perhaps another technique to get the same result.
>
>
> tia
> Daniel Miller
> Nightfreight