...

View Full Version : Retrive data from ASP.net



Sky86
12-31-2007, 08:40 AM
Hi,
i have a php page that need data from asp.net.
but the problem i facing is, i can't get the data from ASP.net
What will be the solution to get the data from ASP.net
is there a way to let the page to conmunicate?

Is there any sources that can let me get data from other page? (asp or asp.net)

Thanks for helping
Happy New Year

Inigoesdr
12-31-2007, 08:56 AM
If you just need the sources from the page, and your host has allow_url_fopen enabled you could use file_get_contents() (http://php.net/file_get_contents):

$page = file_get_contents('http://www.asp.net/');
$page would contain the source of the URL given. Check the manual page for more information.

Sky86
01-02-2008, 01:25 AM
Thanks for the information, but the data that i need is from asp 'session'.
Do we have a way to get the data?

mic2100
01-02-2008, 01:44 AM
you could use the example above and build an asp.net page to give you the information you require and nothing else. the only way you could maybe gather the session is if they are both running on the same server (IIS). but i am unsure about how this works and if it would even work at all.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum