return multiple value from search application to calling form

need to return multiple values from search application
for example
i have a form application with link to partid calling search application with capture field partid, now i need to return partid and grnid from search application

How about setting two (or more) global / session variables in the search application and read the results out of it in the form application.

Example
- in search application:
[gbl_example1] = ‘BlaBla’;
[gbl_example2] = ‘ABC’;

- in form application:
echo [gbl_example1] . ‘<br>’ . [gbl_example2];

will show :
BlaBla
ABC

You can even use an array for this.
Best regards

Gunter Eibl
http://GunterEibl.de (German)
http://asdw.de - some Scriptcase & PHP tipps (English)
http://SECI.solutions (German)