Funny Redirection
-
One ASPX page is not loading !!!!!! :mad: Everything looks fine except this function written on page load by my dear colleague.
if(Request.Url.AbsoluteUri.StartsWith("http")
{
Response.Redirect(Request.Url.AbsoluteUri.Replace("http","https");
}What a shame !!!!!!!! :mad:
printf("Navaneeth!!") www.w3hearts.com
-
One ASPX page is not loading !!!!!! :mad: Everything looks fine except this function written on page load by my dear colleague.
if(Request.Url.AbsoluteUri.StartsWith("http")
{
Response.Redirect(Request.Url.AbsoluteUri.Replace("http","https");
}What a shame !!!!!!!! :mad:
printf("Navaneeth!!") www.w3hearts.com
ouch!
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
One ASPX page is not loading !!!!!! :mad: Everything looks fine except this function written on page load by my dear colleague.
if(Request.Url.AbsoluteUri.StartsWith("http")
{
Response.Redirect(Request.Url.AbsoluteUri.Replace("http","https");
}What a shame !!!!!!!! :mad:
printf("Navaneeth!!") www.w3hearts.com
i've made that mistake doing a search and replace before and ended up in a world of hurt Russell
-
i've made that mistake doing a search and replace before and ended up in a world of hurt Russell
Russell Jones wrote:
i've made that mistake doing a search and replace before and ended up in a world of hurt
Could you give some details?
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
C++/CLI in Action (*E-Book is out, Print version April 6th*) -
Russell Jones wrote:
i've made that mistake doing a search and replace before and ended up in a world of hurt
Could you give some details?
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
C++/CLI in Action (*E-Book is out, Print version April 6th*)https://www.mysite.com will become https
s
://www.mysite.com-- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
-
https://www.mysite.com will become https
s
://www.mysite.com-- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
dan neely wrote:
https://www.mysite.com will become httpss://www.mysite.com
Then you'd just need to change the find string to "http:" - right?
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
C++/CLI in Action (*E-Book is out, Print version April 6th*) -
dan neely wrote:
https://www.mysite.com will become httpss://www.mysite.com
Then you'd just need to change the find string to "http:" - right?
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
C++/CLI in Action (*E-Book is out, Print version April 6th*) -
https://www.mysite.com will become https
s
://www.mysite.com-- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
dan neely wrote:
https://www.mysite.com will become httpss://www.mysite.com
Yes exactly, and more over site won't load. Because each time it will redirect to the same page
printf("Navaneeth!!") www.w3hearts.com