Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2006

Tip: Looking for answers? Try searching our database.

open aspx-page via web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rahel Richter - 13 Apr 2006 15:31 GMT
hello,

I must have a simple webservice who can response a aspx page.
But I can't use Responae.Redirect("http://xxx"). Why?
And how can I call this page via webservice?

many thx for help
phwuxj@hotmail.com - 14 Apr 2006 04:09 GMT
I post my procedure, I think your procedure may have another problem, not
Response.Redirect.
         if(((int)(mycmd1.Parameters["RETURN_VALUE"].Value))==0)
         {
            Session["userright"]="1";
            myreader.Close();
           mycmd1.Connection.Close();
            get_user_name();
            Response.Redirect("index.htm");
         }
         else
         {
            Session["userright"]="-1";
            Msg.Text=(string)(mycmd1.Parameters["@isvalid"].Value);
            Msg.Style["color"] = "red";
            myreader.Close();
           mycmd1.Connection.Close();
         }

> hello,
>
[quoted text clipped - 3 lines]
>
> many thx for help
Rahel Richter - 14 Apr 2006 07:24 GMT
Hello,

first thxs for your post. My problem is that I havn't a Response object.

I can make one like this.context.response.redirect(xx) But is give a error
in the system.web.dll back.

so I tried it with a HttpResponse but the same error appeares. I know, that
my binded dlls are working correct.

so my question, can I open a other project from a webservice like:

[WebMethod]
public void test()
{
this.Context.Response.Redirect("http://www.google.de", true);
Response.Redirect("http://www.google.de", true);

//System.Web.HttpResponse xxxx
}
-> this doen't work

please help!
 



> I post my procedure, I think your procedure may have another problem, not
> Response.Redirect.
[quoted text clipped - 22 lines]
> >
> > many thx for help

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.