>I got a tip from someone about using an include file that has a form with hidden fields to pass data from page to page. This way, I wouldn't have to have a hidden field for every field on every page I wanted to save values from. I am simply trying to maintain three or four values across pages. I can't figure out how to get values into and out of the form fields in the include file. I need to be able to store the values on one page, then retrieve them on the next. Any suggestions will be greatly appreciated. I am using VBScript (IE only platforms) and IIS4.0. I think there is some fundamental concept I am missing here - this doesn't look that difficult!
>
Paul;
Interesting concept I have not explored - yet!
You might consider something along this line:
In your INCLUDE file:
Dim sHidden1
On each form:
< script language=vfscript>
sHidden1 = txtHidden1.value
< /script>
You should be able to use the value - let me know. If that does not do it how about using a cookie? I am using table driven cookies and it works for my Intranet application.
Tom
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement