Click to See Complete Forum and Search --> : Cookies and/or other similar


clyde
03-24-2003, 02:57 PM
Here is the senario.


The User gets html from server, fills in requested info, then submits.

The server receives data via cgi program.

Server sends back html to user.

Is there any way to embed for example a 5 character acct number in the html that can be accessed and compared against in the html vis javascript fuctions.

This question may sound elementary bu I would appreciate any help.

clyde
03-24-2003, 02:59 PM
I meant to say via javascript not vis javascript.

Nedals
03-24-2003, 07:04 PM
Two ways come to mind.
Put your 'acct number' in a hidden field, probably the easiest, or set a cookie containing the number. With either method, the number can be easily accessed using javascript.