× 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.



Bob,

I'm intrigued,  I can write a cookie in rpg, and read it in javascript sure
enough, but to call the rpg program to write it is the sticky part.

by simply hrefing a cgi program, the browser will expect a new page to be
loaded.  right?

if you can get around this, i'm all ears!

the way I ended up doing it was to have the program reload the page, after
deciding the true/false condition and loading the appropriate javascript
already imbedded, to run onload.  not as elegant as I would have liked, but
functional.

thanks,

rick


---original message---
If I'm late or repeating someone else's solution excuse me but...
Couldn't you just write a cookie out and then read it back in the
JavaScript?

Bob Cozzi
cozzi@rpgiv.com
Visit the on-line  Midrange  Developer  forum at: http://www.rpgiv.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.