TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
suparba Panda
NA
103
108.4k
Redirection in web service
Oct 12 2004 5:26 PM
I am new to webservice. What I am trying to do is redirect the page in webservice? How do I do it? It's giving error for the following code.When I am invoking it from the web service directly it works fine, but when I access from my web app it throws unhandled error. The method in web service: [WebMethod] public string hello() { //string apppath; Context.Response.AddHeader("Location","http://localhost/abcd/pageA.aspx"); Context.Response.StatusCode = 307; return null; }
Reply
Answers (
1
)
System Log in C#
Slow Data Access in web services