|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
hai all, i m a perl cgi lover.. i want to do one registration process . i need some help in getting the values.. The process goes like this ... 1. Click A Link to do Sign Up! 2. Accept Rules and Regulations! 3. Fill out the Form! 4. Get Login Name and passwd 5. Check Login and passwd 6. Add to Database. Now my problem is i have to track all the values with a single CGI... How can i do this ? vijay |
|
#2
|
|||
|
|||
|
I assume what you mean is that you want to carry a session identifier and/or form fields for a particular user across multiple forms/pages.
The first form can be static HTML but you're going to have to generate the rest from a script. You can then carry forward the results of previous forms using hidden form fields. <form> <input type=hidden name=thisfieldname value=theirinput> </form> You can accumulate several hidden fields across many forms just by reading the input from the CGI and outputting it as HTML hidden fields. A more complex method would be to use cookies to store this information. And remember, hidden fields aren't secret, they're just not visible to the user when viewing the HTML page. The user can always read them by viewing the page source. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Tracking Registration Process! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|