Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

transfer form fields
Welcome, Guest. Please login or register.
January 08, 2009, 11:18:14 PM
11313 Posts in 1251 Topics by 508 Members
Latest Member: pissematbox
Experts Round Table Network  |  Serverside Technology  |  ASP  |  transfer form fields « previous next »
Pages: [1]
Author Topic: transfer form fields  (Read 550 times)
Johnny26652

Offline Offline

Posts: 61


« on: September 12, 2008, 08:38:06 PM »

hi all,

i have 2 forms basically with the same field names. i need to transfer one form values stored in database of a url to another form with the same fields in a different url using ASP.

thanks
john
« Last Edit: September 14, 2008, 07:25:33 AM by Johnny26652 » Logged

Johnny
VGR
Mentor

Offline Offline

Posts: 684



WWW
« Reply #1 on: September 23, 2008, 12:49:19 AM »

some directions :
1) if same server (domain name), you may use session variables
2) if not, you may build an autopost POST form to reah the secondFORM witht he first's values
3) you may call the second one in GET with all data in the URI but this is the worst solution
4) the second form has to accept input request values (GET, POST) to populate its fields, of course

HTH
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Johnny26652

Offline Offline

Posts: 61


« Reply #2 on: September 30, 2008, 08:00:36 PM »

it is not on the same server.  I am looking something similar to citi virtual card number generator. Once the virtual number generates it automatically fills the card info.... any more suggestions..
Logged

Johnny
VGR
Mentor

Offline Offline

Posts: 684



WWW
« Reply #3 on: October 16, 2008, 11:41:32 PM »

use what I said then. The basic solution is a GET parameter. You may urlencode and "crypt" (or rather, obsfuscate) the set of values in a not-too-big (2048bytes is a good common sense limit) and pass it to the next server using GET (in the URI) or POST (with a hidden FORM linked to a submit link/button for instance).

The next server then "decrypts" the string, thus retrieves the values, and fills in its form ("card")

not that difficult. Or explain your problem more closely.

regards
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Pages: [1]
« previous next »
    Jump to: