Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: how we can pass value to 2 different forms??


Message #1 by kapinjal@m... on Fri, 11 May 2001 03:03:21
hi guys..



after the user enters his info to be a member...how we can send that 

value..e.g username and password to 2 different forms...say after we login 

to yahoo the left frame(which is a include page in my case and i want 

modify detail etc) 



and it will be done using a submit button..its not a link...



if anyone knows...plz let me know..



regards

rocky

Message #2 by "Arbon Reimer" <arbon_reimer@h...> on Fri, 11 May 2001 08:17:25 -0600
My suggestion is to use a GET method and pass the form variables in the

URL...

then from the URL of the frames page, pass those variables along to each of

the child pages through the URL

and then do what you need to on each page.



Make the form tag look like this:

<form method="get" action="framespage.asp" target="MyFramesPage">



So you would be calling framespage.asp, but it would have the form variables

tacked on to the URL

framespage.asp?formvariable1=value&formvariable2=value



(I use ASP-- I would call the child frames like this)

<frames>

<frame name="top"

src="frame1.asp?var=<%=Request.QuerySTring("formvariable1")%>&something=<%=R

equest.QUerySTring("formvariable2")%>">

<frame name="bottom"

src="frame1.asp?var=<%=Request.QuerySTring("formvariable1")%>&something=<%=R

equest.QUerySTring("formvariable2")%>">

</frames>



HTH!

Arbon Reimer

Message #3 by "Sudhakar Koduri" <koduri@1...> on Sat, 12 May 2001 10:53:37 +0800
You can make use of sessions or cookies.

It is the easy and secure way.

bye

sudhakar



----- Original Message -----

From: <kapinjal@m...>

To: ASP components <asp_components@p...>

Sent: Friday, May 11, 2001 3:03 AM

Subject: [asp_components] how we can pass value to 2 different forms??





> hi guys..

>

> after the user enters his info to be a member...how we can send that

> value..e.g username and password to 2 different forms...say after we login

> to yahoo the left frame(which is a include page in my case and i want

> modify detail etc)

>

> and it will be done using a submit button..its not a link...

>

> if anyone knows...plz let me know..

>

> regards

> rocky

>
Message #4 by "thenmalaiyandi vanmeeganathan" <tvalmiki@h...> on Sat, 12 May 2001 10:45:09 +0530
Hai rocky,

Make it clear. I could not understand your Question. But I hope that I could.

Bye. T.Vanmeeganathan. >From: kapinjal@m...

>Reply-To: "ASP components"

>To: "ASP components"

>Subject: [asp_components] how we can pass value to 2 different forms?? 



>Date: Fri, 11 May 2001 03:03:21 



> 



>hi guys.. 



> 



>after the user enters his info to be a member...how we can send that 



>value..e.g username and password to 2 different forms...say after we login 



>to yahoo the left frame(which is a include page in my case and i want 



>modify detail etc) 



> 



>and it will be done using a submit button..its not a link... 



> 



>if anyone knows...plz let me know.. 



> 



>regards 



>rocky 




  Return to Index