Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden fields used in a #include file
Message
 
To
20/06/2001 12:03:06
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00521521
Message ID:
00521681
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform