|
 |
asp_databases thread: Passing user inputs to new Browser page
Message #1 by Mohammad Shahrasbi <mshahrasbi@y...> on Thu, 17 Aug 2000 09:47:35 -0700 (PDT)
|
|
Hi;
First I have to say that I am new to Web programming.
I need some help on passing the user inputs to new
browser page.
I have a page that have some fields in it, and the
user will fill in these fields. I want to be able to
open a new browser page and to display the user
inputs. Not in the same browser page.
I don't know how to do that. First I thought to create
an XML file in some directory, then parse it and
display it in new browser page. I don't know this idea
is going to work, because:
where I have to save the XML file: in server or client
machine? How and when to delete the file? does this is
a good method to do this?
I would Appreciate if someone help me on this.
Thanks
MO
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 21 Aug 2000 17:30:56 +1000
|
|
> I have a page that have some fields in it, and the
> user will fill in these fields. I want to be able to
> open a new browser page and to display the user
> inputs. Not in the same browser page.
With, or without, submitting the original page?
If the latter, you're stuck with client-side javascript.
If the former, then you can use querystring, or cookies, or <gasp> session
variables</gasp>
Just write the values of the form elements to a querystring. Use client-side
javascript to open a new window with the URL having the querystring
appended.
HTH
Cheers
Ken
Message #3 by Mohammad Shahrasbi <mshahrasbi@y...> on Tue, 22 Aug 2000 08:39:44 -0700 (PDT)
|
|
--- Ken Schaefer wrote:
> > I have a page that have some fields in it, and the
> > user will fill in these fields. I want to be able
> to
> > open a new browser page and to display the user
> > inputs. Not in the same browser page.
>
> With, or without, submitting the original page?
>
> If the latter, you're stuck with client-side
> javascript.
>
> If the former, then you can use querystring, or
> cookies, or <gasp> session
> variables</gasp>
> Just write the values of the form elements to a
> querystring. Use client-side
> javascript to open a new window with the URL having
> the querystring
> appended.
>
> HTH
>
> Cheers
> Ken
>
>
Thanks Ken for your response;
I used the querystring and it does work, but I am
concern about performanance and speed of submitting to
the new browser page, because the string is going to
be very long and I have to pass many fields input to
the new browser page. Also,I can't use the cookies or
session variables, we are not allowed.
Thanks
Mo
Message #4 by "Nick Middleweek" <nickm@t...> on Tue, 22 Aug 2000 18:21:33 +0000
|
|
Do you have to submit the data back to the web server.
As Ken indicated, you can use JavaScript to open a new window, write HTML
'on the fly' to the new window. This HTML can include data from the form
elements on the main page.
HTH
Nick Middleweek
----------
>From: Mohammad Shahrasbi
>To: "ASP Databases" <asp_databases@p...>
>Subject: [asp_databases] Re: Passing user inputs to new Browser page
>Date: Tue, Aug 22, 2000, 15:39
>
> --- Ken Schaefer wrote:
>> > I have a page that have some fields in it, and the
>> > user will fill in these fields. I want to be able
>> to
>> > open a new browser page and to display the user
>> > inputs. Not in the same browser page.
>>
>> With, or without, submitting the original page?
>>
>> If the latter, you're stuck with client-side
>> javascript.
>>
>> If the former, then you can use querystring, or
>> cookies, or <gasp> session
>> variables</gasp>
>> Just write the values of the form elements to a
>> querystring. Use client-side
>> javascript to open a new window with the URL having
>> the querystring
>> appended.
>>
>> HTH
>>
>> Cheers
>> Ken
>>
>>
>
>
>
> Thanks Ken for your response;
> I used the querystring and it does work, but I am
> concern about performanance and speed of submitting to
> the new browser page, because the string is going to
> be very long and I have to pass many fields input to
> the new browser page. Also,I can't use the cookies or
> session variables, we are not allowed.
>
> Thanks
> Mo
>
Message #5 by "Ken Schaefer" <ken@a...> on Wed, 23 Aug 2000 11:05:49 +1000
|
|
> Thanks Ken for your response;
> I used the querystring and it does work, but I am
> concern about performanance and speed of submitting to
> the new browser page, because the string is going to
> be very long and I have to pass many fields input to
> the new browser page. Also,I can't use the cookies or
> session variables, we are not allowed.
Well, I don't really have any other ideas...you could try:
a) buying all your client's faster internet connections
b) magic
c) ...
Maybe someone else on the list has a more creative brain than me... :-)
Cheers
Ken
|
|
 |