|
cnu.net wrote: Please suggest me on this.
Well, as this sounds like a third party piece of software, I'd suggest that you need to get in touch with the manufacturers, possibly via their support forums. Coming to somewhere like Code Project for support on a commercial product is not going to be the best use of your time.
|
|
|
|
|
After I renamed a namespace from AA to CA, I get the following error in various sections of my website code:
'ca' is not accessible in this context because it is 'Friend'...Whenever I try to retype the namespace in caps VS auto lower cases it (what's up with that?)
This error did not occur before the namespace change and not all of the new name namespace references are causing the same error.
Ideas?
Thanks in advance for your help!
|
|
|
|
|
I suppose you could try to rename everything back by first closing the solution and then opening all of the solution files in something like NotePad++ and do a case sensitive search and replace. BTW, AA or CA as a namespace is not very descriptive or useful - I prefer longer, more descriptive names.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
That's a good idea to force the uppercase. I only used those names for the example though. I'm still wondering about this error.
|
|
|
|
|
It's possible the renaming has either caused a conflict or there as 'AA' as part of another namespace or class anem and you have broken it by replacing it with 'CA'. If you want to rename objects you shoudl ensure that you check the options to both match case and whole word only.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hi everyone.
I need to know what it means:
HTTP/1.1 proxies MUST parse the Connection header field before a message is forwarded and, for each connection-token in this field, remove any header field(s) from the message with the same name as the connection-token.
Does it mean that the Proxy Server MUST remove the Connection: keep-alive and Proxy-Connection: keep-alive before forwarding the message to the remote server?!
Sojaner!
|
|
|
|
|
I assume it means that custom tokens are supported for Connection:, and that these may also appear as custom headers. For example:
Connection: DoWhatISay
DoWhatISay: something goes here...
A proxy must take every token appearing in the Connection header, and then remove any header lines that *begin* with that token. In this case, it must strip the DoWhatISay header out (and, I assume, the Connection).
|
|
|
|
|
If I may ask the gestalic intelligentsia gathered a question.
Why is it that the http-equiv="refresh" meta tag frowned upon?
I have heard that it can even reduce the page ranking.
Is it an evil that is to be avoided?
Is there an alternative way of doing live updating?
What is the reasoning behind its unpopularity?
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
modified 25-Feb-12 13:22pm.
|
|
|
|
|
Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...
http://en.wikipedia.org/wiki/Meta_refresh[^]
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Ok, I can see why it is 'Generally' frowned upon.
However I have a page that needs to refresh the contents of an iframe once every minute and I can think of no simpler way of doing it.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
|
Good links, thanks.
But I have a page that shows the league tables as they stand, so it needs to be refreshed every minute so that it is bang up to date, and the meta refresh is how I do it.
If it is bad practice, how else would I do this?
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
A JavaScript setTimeout call that refreshes the page after 1 minute?
|
|
|
|
|
Fair enough, it has the same functionality, but it is not as simple though is it.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
This should do the trick.
<html>
<head>
<script type="text/JavaScript">
</script>
</head>
<body onload="JavaScript:setRefresh(60000);">
</body>
</html>
|
|
|
|
|
I know how to do it, my point being it is much simpler with a simple meta call.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
Dalek Dave wrote: If it is bad practice, how else would I do this?
you do it with AJAX. you make Javascript xhttp calls to your server to get the updated sections of your page (either HTML itself or the raw data which you then format with Javascript on the client).
the page itself never refreshes, but its content does.
|
|
|
|
|
Thanks Chris.
It is a poor day when you learn nothing
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
I think you just broke rule #2 of the lounge!
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
It is not really a programming question, merely wondering why a certain function is regarded as bad.
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
Well, I guess I could give you the benefit of the doubt... But they sure looked like programming questions to me
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
}
|
|
|
|
|
Pure sophistry!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
I would prefer "Elegant Verbal Sophistication".
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
English League Tables - Live
|
|
|
|
|
OriginalGriff wrote: Pure sophistry! But, how rare to find someone who can distill the "pure" stuff, the attar with the true top-note of efflorescent godwottery, in this era of dumb-down, additives, botox, preservatives, imitation flavours, liposuction, and organ-transplant bingo games run by the Sisters of St. Surplus !
best, Bill
"Every two days we create as much information as we did from the dawn of civilization up until 2003". Eric Schmidt of Google.
|
|
|
|
|
You forgot permitted colourants and MSG...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|