rdmjrb,
I see that this will give me all the HTML code but how am I to get the QueryString from the actual HTML code? I must have missed something, sorry.
Todd
Main Topics
Browse All TopicsOK I have a form that submits to a page we will call form_processor.asp. This form logs me and asp file log me into a website, once form_processor.asp logs me in it also assigns me a session variable and then forwards me to the inside of the website with that session variable in my querystring in the URL.
Like this:
http://www.johndoe.com/ins
Now inside the site everything is based on the session variable in the query string. With me so far?
Now what I want to do is somehow use an asp page to log someone into the site and then have my code grab that session variable from the query string once they are logged in. Here is the tricky part.. I don't have access to the pages or site that they are being forwarded to or logged into. What I mean is that I do have access to log in and use the site but I don't have the ability to run any ASP pages or anything on their servers. This has to be done on my end totally.
Any ideas?
This may sound fishy but all i am trying to do is automatically log in to a website of a service I subscribe to and make changes by submitting their forms but I want to do it automated on my end. I think i can do it all but need to grab this session variable that they assign me when I log in..
HELP!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
hi,
For Example:
form_processor.asp
**************************
<form name="MyAction" action="/actions/action001
<!-- This stores and sends your querystring -->
<input type="hidden" name="QS" value="<%=Request.QueryStr
<!-- Here You can store and send other data -->
<input type="hidden" name="CreatedValue1" value="<%=Request.ServerVa
...
Here comes your design & other code
</form>
<a href="javascript:MyAction.
__________________________
action001.asp
**************************
<%
QS = Request.Form("QS") ' QueryString from page form_processor.asp
CreatedValue1 = Request.Form("CreatedValue
Response.Redirect MyPage & "?" & QS
%>
**************************
hope it helps
Write a form that submits your info and sets a cookie -- the cookie can contain the same info as the session variable, stored on you machine, and you can write pages to read it back.
Since you're running the page from your machine, your 'domain' (use PWS and http://localhost) is the one that stored it, so you can read anything from it.
muchowebdotcom:
>>UAOpenURL error '800a0153'
I've used the UAOpenURL example with success on NT 4.0/Windows 2000 - IIS 4-5. Are you able to create and instanciate any objects from VB via ASP? I would try creating a simple object (response.write ("hello world")) and instanciate it with an active server page, then go from there. The object is registered successfully otherwise you would not see the error specific to 'UAOpenURL'. Maybe a bad reference in the project.
>>OK I have a form that submits to a page we will call form_processor.asp.
Use the UAOpenURL application to pass the data to the server:
1. View the source of the login page that is submitted to form_processor.asp and find the names of relevant form elements. (<form action=form_processor.asp>
2. Write some code in yourpage.asp: response.write objUA.OpenURL("www.you.com
3. Open a brower and point it to yourpage.asp
4. When yourpage.asp loads it will send the request to form_processor.asp.
5. The form_processor.asp looks for 1 thing:
a. username
6. Since you are passing it this value from your object everything should proccess and you can move on.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept [rdmjrb]'s comment as answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Abhi Malani
EE Cleanup Volunteer
Business Accounts
Answer for Membership
by: rdmjrbPosted on 2001-12-15 at 17:10:54ID: 6679187
hello muchowebdotcom,
/tutorial/ activex_op enurl.asp
Nice idea. I had a similar one and I implemeted the following solution:
http://www.ultimateasp.com
This should be straightforward, pass the querystring to the server via the OpenURL object and receive the results.
Issues:
1. Code as much as possible for change. You cannot control the code on the "other" server, so if changes take place, renaming a query string value for example, then you may have problems.
2. I ran into problems because of forms being submitted to a dll or cgi/bin. I dont believe there is technology to handle this.
===
I assume you can place ASP code/objects somewhere.