webworker us

msg:953866 | 3:03 pm on May 22, 2006 (gmt 0) |
When you say redirect the pages, do you mean redirect the default page from C:\Inetpub to something different, or do you mean within a page, after a login?
|
rpshah1208

msg:953867 | 9:31 am on May 23, 2006 (gmt 0) |
Hi, I m Ruchir Shah from india. I know your solution but pls send an email to rpshah1208@yahoo.co.in I m waiting for your mail
|
webworker us

msg:953868 | 12:03 pm on May 23, 2006 (gmt 0) |
If you know my solution, why do you need an email?
|
ctudorprice

msg:953869 | 2:46 pm on May 23, 2006 (gmt 0) |
HttpContext.Current.Response.Status = "301 Moved Permanently" HttpContext.Current.Response.AddHeader("Location", "/newlocation.aspx") HttpContext.Current.Response.End() is the best way to preserve PR with Google etc. You can also do a response.redirect which sends a "302 Object Moved" header response. It depends what you are trying to do. There are also other tricks - but it depends what you are trying to do.
|
|