If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > How to run one one ASP page from another?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-03, 06:30
Gvynt Gvynt is offline
Registered User
 
Join Date: Sep 2003
Location: Kyiv
Posts: 38
How to run one one ASP page from another?

Hi All!

How can I call an ASP page with rights of another user from the first page with anonimous access?

I have a page w/ anonimous access allowed and trying to use Server.Invoke() to run another page. But it doesn't work, saying I have not enough rights to.

Is it possible to give a username and password when using Server.Invoke()?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-10-03, 14:23
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
What are you trying to accomplish? Simply trying to include one ASP in another? Or call an ASP to screen-scrape some data to be used in another ASP?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 10-11-03, 10:44
Gvynt Gvynt is offline
Registered User
 
Join Date: Sep 2003
Location: Kyiv
Posts: 38
Quote:
Originally posted by Seppuku
What are you trying to accomplish? Simply trying to include one ASP in another? Or call an ASP to screen-scrape some data to be used in another ASP?
I'm trying to get data from that second ASP. I wish to run that second page as OLAP Administrator and get data to the first page, running as non-priveleged user.
Reply With Quote
  #4 (permalink)  
Old 10-11-03, 17:04
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
It depends on the output of the second page... is the content just in an HTML format, or is it in something more rigid like XML?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #5 (permalink)  
Old 10-12-03, 14:44
Gvynt Gvynt is offline
Registered User
 
Join Date: Sep 2003
Location: Kyiv
Posts: 38
Quote:
Originally posted by Seppuku
It depends on the output of the second page... is the content just in an HTML format, or is it in something more rigid like XML?
It contains XML document. Will this help to solve a problem?
Reply With Quote
  #6 (permalink)  
Old 10-12-03, 15:53
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Look up MSXML. It's a COM object from MS that will parse an XML source. We use it for parsing stock quote information in an XML file. Works well...
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #7 (permalink)  
Old 10-12-03, 16:19
Gvynt Gvynt is offline
Registered User
 
Join Date: Sep 2003
Location: Kyiv
Posts: 38
Quote:
Originally posted by Seppuku
Look up MSXML. It's a COM object from MS that will parse an XML source. We use it for parsing stock quote information in an XML file. Works well...
I'm creating XML document in the second page as an OLAP Administrator. I cannot make it as ordinary user. I wish to call that page with appropriate rights. How can I make it? I have not problems with parsing XML
Reply With Quote
  #8 (permalink)  
Old 10-24-03, 07:05
andstens andstens is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Quote:
Originally posted by Gvynt
I'm trying to get data from that second ASP. I wish to run that second page as OLAP Administrator and get data to the first page, running as non-priveleged user.
Hi!
If' you can live with the second asp-page (adminpage) not being an integrated part of the first page, you can try this
Code:
<iframe src="your_path_to/filename.asp" name="your_iframe_name"width="" height="" frameborder="0" marginwidth="0" marginheight="0" ></iframe>
<layer src="your_path_to/filename.asp" name="your_layer_name"width="" height="" ></layer>
This should work in both netscape & explorer.
This will display the admin_page seemlessly in the regular_user_page.
Hope this helps...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On