Current location: Hot Scripts Forums » Programming Languages » ASP » Field details in the asp form


Field details in the asp form

Reply
  #1 (permalink)  
Old 04-16-09, 08:40 AM
moosakhan moosakhan is offline
New Member
 
Join Date: Apr 2009
Location: Bangalore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Field details in the asp form

Is there a way to create a cookie where in the user fills the form#1 to download a document and if he wants to download another document by filling the form#2 the field details can be automatically be filled so that the user does not need to refill the details once again?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-19-09, 03:56 AM
Yeroon's Avatar
Yeroon Yeroon is offline
Code Master
 
Join Date: Aug 2007
Location: Netherlands, Nijmegen
Posts: 850
Thanks: 2
Thanked 20 Times in 20 Posts
In this article there is a basix explanation of cookies:

http://riki-lb1.vet.ohio-state.edu/m.../aspcookie.htm

You would just need to use your posted fields:

Code:
Response.Cookies("Form1")("Fieldname")=Request.Form("Fieldname")
and the read on second form:



Code:
response.write(request.cookies("Form1")("Fieldname"))
__________________
Feel free to thank people if they help you by clicking thanks at a post.
=================================
Make it idiot proof and someone will make a better idiot.
=================================
Realise the impotence of proof reading everything you publish
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP or PHP which is better? nepala The Lounge 9 07-14-10 06:48 AM
Problem with FormMail script for simple contact form amang Perl 2 09-21-07 08:59 PM
ASP upload prob minority ASP 1 06-27-05 09:35 AM
formmail problem gscraper Perl 12 08-27-04 04:06 AM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 11:15 AM


All times are GMT -5. The time now is 10:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.