Posting variables from an HTML FORM, via
the Request.Form function on the receiving
ASP page is great.
But how can you POST a Form variable to
an ASP page -- without a human pushing a
Submit button?
An ASP page that can decide when to POST
and send the Form vaiables, but out without a
human in the loop.
p.s. the reason I do not want to use a
Request.Querysting is because I do not
want the user to see the values at the
tail-end of the URL (?x=private).
Please help... got a hot project.
Thanks,
Dave Fashenpour df*********@houston.rr.com 10 4151
<script type="text/javascript">formname.submit();</script>
But I think perhaps you may want to come up with a different solution. If
there is no human interaction, what is the data that you need that requires
a trip to the client to get it?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message
news:44**********************************@microsof t.com... Posting variables from an HTML FORM, via the Request.Form function on the receiving ASP page is great.
But how can you POST a Form variable to an ASP page -- without a human pushing a Submit button?
An ASP page that can decide when to POST and send the Form vaiables, but out without a human in the loop.
p.s. the reason I do not want to use a Request.Querysting is because I do not want the user to see the values at the tail-end of the URL (?x=private).
Please help... got a hot project.
Thanks, Dave Fashenpour df*********@houston.rr.com
I have two ASP pages communicating a passcode
and I do not want it displayed on the URL task bar...
"Ray Costanzo [MVP]" wrote: <script type="text/javascript">formname.submit();</script>
But I think perhaps you may want to come up with a different solution. If there is no human interaction, what is the data that you need that requires a trip to the client to get it?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:44**********************************@microsof t.com... Posting variables from an HTML FORM, via the Request.Form function on the receiving ASP page is great.
But how can you POST a Form variable to an ASP page -- without a human pushing a Submit button?
An ASP page that can decide when to POST and send the Form vaiables, but out without a human in the loop.
p.s. the reason I do not want to use a Request.Querysting is because I do not want the user to see the values at the tail-end of the URL (?x=private).
Please help... got a hot project.
Thanks, Dave Fashenpour df*********@houston.rr.com
Are these pages in the same site and application? Or do/can they share a
database?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message
news:78**********************************@microsof t.com... I have two ASP pages communicating a passcode and I do not want it displayed on the URL task bar...
"Ray Costanzo [MVP]" wrote:
<script type="text/javascript">formname.submit();</script>
But I think perhaps you may want to come up with a different solution. If there is no human interaction, what is the data that you need that requires a trip to the client to get it?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:44**********************************@microsof t.com... > Posting variables from an HTML FORM, via > the Request.Form function on the receiving > ASP page is great. > > But how can you POST a Form variable to > an ASP page -- without a human pushing a > Submit button? > > An ASP page that can decide when to POST > and send the Form vaiables, but out without a > human in the loop. > > p.s. the reason I do not want to use a > Request.Querysting is because I do not > want the user to see the values at the > tail-end of the URL (?x=private). > > Please help... got a hot project. > > Thanks, > Dave Fashenpour > df*********@houston.rr.com
The ASPX app has DB access and talks to an ASP page in a folder managed by
FrontPage -- without DB access.
"Ray Costanzo [MVP]" wrote: Are these pages in the same site and application? Or do/can they share a database?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:78**********************************@microsof t.com...I have two ASP pages communicating a passcode and I do not want it displayed on the URL task bar...
"Ray Costanzo [MVP]" wrote:
<script type="text/javascript">formname.submit();</script>
But I think perhaps you may want to come up with a different solution. If there is no human interaction, what is the data that you need that requires a trip to the client to get it?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:44**********************************@microsof t.com... > Posting variables from an HTML FORM, via > the Request.Form function on the receiving > ASP page is great. > > But how can you POST a Form variable to > an ASP page -- without a human pushing a > Submit button? > > An ASP page that can decide when to POST > and send the Form vaiables, but out without a > human in the loop. > > p.s. the reason I do not want to use a > Request.Querysting is because I do not > want the user to see the values at the > tail-end of the URL (?x=private). > > Please help... got a hot project. > > Thanks, > Dave Fashenpour > df*********@houston.rr.com
If you are using hidden form fields, users will still be able to view
source, so your password will never be or stay secret.
Which direction is the password going (I assume ASP -> ASPX), and what is it
used for/what are you trying to do? Bouncing the password out to the user
like this really is not secure (even if you were using HTTPS), and the
password will not stay secret from savvy users.
Jevon
"DaveFash" <Da******@discussions.microsoft.com> wrote in message
news:40**********************************@microsof t.com... The ASPX app has DB access and talks to an ASP page in a folder managed by FrontPage -- without DB access.
"Ray Costanzo [MVP]" wrote:
Are these pages in the same site and application? Or do/can they share a database?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:78**********************************@microsof t.com... >I have two ASP pages communicating a passcode > and I do not want it displayed on the URL task bar... > > "Ray Costanzo [MVP]" wrote: > >> <script type="text/javascript">formname.submit();</script> >> >> But I think perhaps you may want to come up with a different solution. >> If >> there is no human interaction, what is the data that you need that >> requires >> a trip to the client to get it? >> >> Ray at work >> >> "DaveFash" <Da******@discussions.microsoft.com> wrote in message >> news:44**********************************@microsof t.com... >> > Posting variables from an HTML FORM, via >> > the Request.Form function on the receiving >> > ASP page is great. >> > >> > But how can you POST a Form variable to >> > an ASP page -- without a human pushing a >> > Submit button? >> > >> > An ASP page that can decide when to POST >> > and send the Form vaiables, but out without a >> > human in the loop. >> > >> > p.s. the reason I do not want to use a >> > Request.Querysting is because I do not >> > want the user to see the values at the >> > tail-end of the URL (?x=private). >> > >> > Please help... got a hot project. >> > >> > Thanks, >> > Dave Fashenpour >> > df*********@houston.rr.com >> >> >>
I really appreciate your interest and questions, but it is
pretty hard to describe the system in question. What
I orginally asked about was the ability to send a pass
code between apps (without human involvement).
Currently it is done by appending the code to the
URL with a "?" and can be observed by all. I wanted
a way to hide the data -- and it seemed a good way
to do that, would be by Posting Form data as a
querystring -- received by embedded in the ASP
code.
So I asked how to send Form data without pressing
submit and hopefully do it within VB Script.
"Jevon" wrote: If you are using hidden form fields, users will still be able to view source, so your password will never be or stay secret.
Which direction is the password going (I assume ASP -> ASPX), and what is it used for/what are you trying to do? Bouncing the password out to the user like this really is not secure (even if you were using HTTPS), and the password will not stay secret from savvy users.
Jevon
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:40**********************************@microsof t.com... The ASPX app has DB access and talks to an ASP page in a folder managed by FrontPage -- without DB access.
"Ray Costanzo [MVP]" wrote:
Are these pages in the same site and application? Or do/can they share a database?
Ray at work
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:78**********************************@microsof t.com... >I have two ASP pages communicating a passcode > and I do not want it displayed on the URL task bar... > > "Ray Costanzo [MVP]" wrote: > >> <script type="text/javascript">formname.submit();</script> >> >> But I think perhaps you may want to come up with a different solution. >> If >> there is no human interaction, what is the data that you need that >> requires >> a trip to the client to get it? >> >> Ray at work >> >> "DaveFash" <Da******@discussions.microsoft.com> wrote in message >> news:44**********************************@microsof t.com... >> > Posting variables from an HTML FORM, via >> > the Request.Form function on the receiving >> > ASP page is great. >> > >> > But how can you POST a Form variable to >> > an ASP page -- without a human pushing a >> > Submit button? >> > >> > An ASP page that can decide when to POST >> > and send the Form vaiables, but out without a >> > human in the loop. >> > >> > p.s. the reason I do not want to use a >> > Request.Querysting is because I do not >> > want the user to see the values at the >> > tail-end of the URL (?x=private). >> > >> > Please help... got a hot project. >> > >> > Thanks, >> > Dave Fashenpour >> > df*********@houston.rr.com >> >> >>
DaveFash wrote: I really appreciate your interest and questions, but it is pretty hard to describe the system in question. What I orginally asked about was the ability to send a pass code between apps (without human involvement).
Currently it is done by appending the code to the URL with a "?" and can be observed by all. I wanted a way to hide the data -- and it seemed a good way to do that, would be by Posting Form data as a querystring -- received by embedded in the ASP code.
This makes no sense. "Posting ... as a querystring" is exactly the same as
"appending the code to the URL with a "?" " So I asked how to send Form data without pressing submit and hopefully do it within VB Script.
When you say "without pressing submit", do you mean you want to submit data
to another page from your server-side code? If so, google for
"ServerXMLHTTP"
If instead, you are looking for a way to pass data from your client-side
code, then you are in the wrong newsgroup. Since it sounds as if you are
using vbscript in your client-side code, then you will get more focussed
assistance at .scripting.vbscript, where you can ask about using the XMLHTTP
object to accomplish your goal.
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
It's always best to describe the whole problem and not only the technical
solution you choosed.
For example you could pass the info server side where the user will not be
able to see it. Even POSTing the info in an hidden filed, the info could be
for example fecth from the browser cache etc...
To pass the info server side you could :
- either use the disk if both sites are at the same location
- using server side POSTing from one form to another form on the other site
- you may want to add encryption in case you would even protect the data
from being seen "on the wire"...
--
Patrice
--
"DaveFash" <Da******@discussions.microsoft.com> a écrit dans le message de
news:BE**********************************@microsof t.com... I really appreciate your interest and questions, but it is pretty hard to describe the system in question. What I orginally asked about was the ability to send a pass code between apps (without human involvement).
Currently it is done by appending the code to the URL with a "?" and can be observed by all. I wanted a way to hide the data -- and it seemed a good way to do that, would be by Posting Form data as a querystring -- received by embedded in the ASP code.
So I asked how to send Form data without pressing submit and hopefully do it within VB Script.
"Jevon" wrote:
If you are using hidden form fields, users will still be able to view source, so your password will never be or stay secret.
Which direction is the password going (I assume ASP -> ASPX), and what
is it used for/what are you trying to do? Bouncing the password out to the
user like this really is not secure (even if you were using HTTPS), and the password will not stay secret from savvy users.
Jevon
"DaveFash" <Da******@discussions.microsoft.com> wrote in message news:40**********************************@microsof t.com... The ASPX app has DB access and talks to an ASP page in a folder
managed by FrontPage -- without DB access.
"Ray Costanzo [MVP]" wrote:
> Are these pages in the same site and application? Or do/can they
share a> database? > > Ray at work > > "DaveFash" <Da******@discussions.microsoft.com> wrote in message > news:78**********************************@microsof t.com... > >I have two ASP pages communicating a passcode > > and I do not want it displayed on the URL task bar... > > > > "Ray Costanzo [MVP]" wrote: > > > >> <script type="text/javascript">formname.submit();</script> > >> > >> But I think perhaps you may want to come up with a different
solution.> >> If > >> there is no human interaction, what is the data that you need that > >> requires > >> a trip to the client to get it? > >> > >> Ray at work > >> > >> "DaveFash" <Da******@discussions.microsoft.com> wrote in message > >> news:44**********************************@microsof t.com... > >> > Posting variables from an HTML FORM, via > >> > the Request.Form function on the receiving > >> > ASP page is great. > >> > > >> > But how can you POST a Form variable to > >> > an ASP page -- without a human pushing a > >> > Submit button? > >> > > >> > An ASP page that can decide when to POST > >> > and send the Form vaiables, but out without a > >> > human in the loop. > >> > > >> > p.s. the reason I do not want to use a > >> > Request.Querysting is because I do not > >> > want the user to see the values at the > >> > tail-end of the URL (?x=private). > >> > > >> > Please help... got a hot project. > >> > > >> > Thanks, > >> > Dave Fashenpour > >> > df*********@houston.rr.com > >> > >> > >> > > >
"DaveFash" wrote in message
news:BE**********************************@microsof t.com...
:I really appreciate your interest and questions, but it is
: pretty hard to describe the system in question. What
: I orginally asked about was the ability to send a pass
: code between apps (without human involvement).
:
: Currently it is done by appending the code to the
: URL with a "?" and can be observed by all. I wanted
: a way to hide the data -- and it seemed a good way
: to do that, would be by Posting Form data as a
: querystring -- received by embedded in the ASP
: code.
:
: So I asked how to send Form data without pressing
: submit and hopefully do it within VB Script.
Hi Dave...
Provide a walk though so we can better understand exactly what you want.
If you just want to submit a form programmatically, then you can use
HTTPRequest, as Bob suggested. However, there may be an easier way but we
need more details.
If you can't get it worked out here, and need to discuss it on the phone,
I'm in Houston.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
On Thu, 27 Oct 2005 12:06:53 -0500, "Roland Hall" <nobody@nowhere> wrote: "DaveFash" wrote in message news:BE**********************************@microso ft.com... :I really appreciate your interest and questions, but it is : pretty hard to describe the system in question. What : I orginally asked about was the ability to send a pass : code between apps (without human involvement). : : Currently it is done by appending the code to the : URL with a "?" and can be observed by all. I wanted : a way to hide the data -- and it seemed a good way : to do that, would be by Posting Form data as a : querystring -- received by embedded in the ASP : code. : : So I asked how to send Form data without pressing : submit and hopefully do it within VB Script.
Hi Dave...
Provide a walk though so we can better understand exactly what you want.
If you just want to submit a form programmatically, then you can use HTTPRequest, as Bob suggested. However, there may be an easier way but we need more details.
If you can't get it worked out here, and need to discuss it on the phone, I'm in Houston.
Perhaps you can create the page with the form and set its contents and action to be what you need..In the Body tag have
an OnLoad action call a JavaScript function that executes the Submit for the form..Will happen as soon as the page is
finished loading without any intervention This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Terry |
last post by:
I'm trying to automatically submit a form to another ASP page after
some <input> fields values are filled by ASP.
I know I can do it using javascript, but is there a way to
automatically submit...
|
by: Lynn |
last post by:
I'm running Oracle 8.1.7.4.1 on W2K and have the services for my
oracle instances set to automatically startup and shutdown with the
W2K server. Unfortunately, neither is working. Nothing gets...
|
by: Tim Wade |
last post by:
Does anyone have any ideas on how to do an automatic html form post
using hidden fields without introducing client-side script nor using a
server-side WebRequest by passing the information back up...
|
by: Gert van der Kooij |
last post by:
Hi,
It's no problem to define the automatic maintenance using the wizard
but I want to use commands to automate automation. I captured the SQL
statements when activating the maintenance but that...
|
by: Darleen |
last post by:
I am seeking conceptual here on how to get started with a "3D Matrix"
in Access. We run a training center which holds multiple classes in
multiple cities at multiple times. So I need to create a...
|
by: anita |
last post by:
Hello
Can anybody pls help me out.
I am creating a table with a field that has about 50,000 randomly
generated
values(RandomID). Everytime I enter a new record with new RecordID,
I want the next...
|
by: Ben R. |
last post by:
How does automatic type casting happen in vb.net? I notice that
databinder.eval "uses reflectoin" to find out the type it's dealing with.
Does vb.net do the same thing behind the scenes when an...
|
by: Victor |
last post by:
hi guys.
In my project, now I am using a asp.net login control and a customized
membership provider to do the form authentication. Now I want some function
that user can skip the login form and be...
|
by: Brett_A |
last post by:
I have a form where the first field is a dynamic drop-down that pulls
from a db (Access). The fields associated with the query are task_id,
task_name and task_rate. The field has the value of...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |