I've set my web app to use Authentication mode = forms in the web.config The problem is that when the cookie expires, it redirects to the login page -- but only in the main frame. I need to redirect the entire page (_top), not just a single frame. 1. Can I set a target (in the web.config) for the redirect that happens when the cookie expires? Target does not seem to be one of the parameters that it accepts for the forms element... 2. Can I handle the authentication timeout with javascript (so I can redirect to the login page, but specify a target)? 3. I could give the timeout value a huge number, then handle authentication timeout via some other method (this does not seem to be the optimum solution). Any input would be welcome.
Greg Daye
Posts
-
Authentication timeout -- frames issue. -
Video Games are dangerouslol. got my 5
-
Global Warming... on Mars?http://www.realclimate.org/index.php/archives/2005/10/global-warming-on-mars/#more-192[^] "The shrinkage of the Martian South Polar Cap is almost certainly a regional climate change, and is not any indication of global warming trends in the Martian atmosphere...the south polar climate is unstable due to the peculiar topography near the pole, and the current configuration is on the instability border; we therefore expect to see rapid changes in ice cover as the regional climate transits between the unstable states. "
-
image captureIf you get the device context of an underlying window, shouldn't it output the display of that window? i.e. if you have the handle to the window you want to bitblt, you should be able to do a GetDC() on that window, then blit from that dc... It should blit what is being displayed on that window, regardless of a window is over top of it. I think. Where are you getting the sourcedc in the example?
-
Pollution could combat global warmingRed Stateler wrote:
DDT. Literally millions of lives were lost in Africa due to malaria because its use was restricted thanks to faulty science
"In 1955, the World Health Organization commenced a program to eradicate malaria worldwide, relying largely on DDT. Though this program was initially highly successful worldwide (reducing mortality rates from 192 per 100,000 to a low of 7 per 100,000), resistance emerged in many insect populations over time. DDT was less effective in tropical regions due to the continuous life cycle of mosquitoes and poor infrastructure. It was not pursued at all in sub-Saharan Africa due to these perceived difficulties, with the result that mortality rates in the area were never reduced to the same dramatic extent" There has never been a world-wide ban on the use of DDT. Do you have sources for your claim that millions of lives were lost?
-
Myth making man, and the destruction of truth.http://www.realclimate.org/index.php/archives/2004/12/werent-temperatures-warmer-during-the-medieval-warm-period-than-they-are-today/[^] "Claims that global average temperatures during Medieval times were warmer than present-day are based on a number of false premises that a) confuse past evidence of drought/precipitation with temperature evidence, b) fail to disinguish regional from global-scale temperature variations, and c) use the entire "20th century" to describe "modern" conditions , fail to differentiate between relatively cool early 20th century conditions and the anomalously warm late 20th century conditions."
-
Democrats cut trade deficit!Stan Shannon wrote:
Did you read the headline?
"Trade Deficit Narrows by Most in 5 Years" I suppose if you look hard enough, you can "find" bias anywhere...
-
Democrats cut trade deficit!Stan Shannon wrote:
But a biased press? Never!
Did you read the article? The author does not attribute the economic good news to the dems. Although Red Stateler did...so maybe what we're looking at here is a "biased Red Stateler", not biased media.
-
Only 50 years left for 'Sea Fish'fat_boy wrote:
Tell me, if fish was so scarce when the sea is warm, what the f*** did jesus feed the 5000 with?
I thought that was due to "magic"?
-
Going back to the 19th century [modified]Red Stateler wrote:
Psychologists are basically secular priests, so you're pretty much endorsing the wholsale marriage of your government with your particular religious view. The Taliban did the same thing.
lol -- got my 5
-
So, the US and Iraq. What do you rekon?The war was over in days. Some would call the current conflict the "occupation".
-
America Smarter than Spain [modified]Jörgen Sigvardsson wrote:
What made you jump on Spain like that? Did you get turned down by a hot spanish girl? Did she call you fat, ugly, bald american bastard?
well, he would have jumped on France (as usual), but unfortunately, they also have 99% literacy. http://www.cia.gov/cia/publications/factbook/geos/fr.html[^]
-
Double to Stringyou could try doing a sprintf. y = 0.01; sprintf ( buffer, "%f", y );
-
Our Litigious Societylol. Makes me think of this shirt: http://www.tshirthell.com/store/product.php?productid=192[^] -- modified at 12:41 Wednesday 21st June, 2006
-
Dubai Observation"I trust Bush's motives to do what's in the best interests of the country." I think there is a minor difference. I trust Bush to do what he thinks is in the best interests of the country. But what he thinks is in the best interests, and what I think are the best interests may not always coincide. I think it is every citizen's duty to monitor the behaviour of our leaders, and let them know when we have a difference of opinion.
-
wind farmsIts true -- more factors than purely the availability of wind must be weighed when locating a wind farm. I believe there was a windfarm in California that was sited directly adjacent to a bird sanctuary. The increased activity of construction, power lines, etc, etc seems to have caused damage to endangered bird populations there. The vast majority of wind farms have little impact on birds.
-
wind farmsWind farms killing birds is a myth. The average is less than one bird per year per windfarm. Which isn't very comforting to that one bird each year, I'll admit...
-
America bashing - the opium of the intellectualAn interesting read. However, I find that the narrow definition of "America bashing" presented at beginning of the article serves to limit the usefulness of the concepts provided. For example: "It is not that America went wrong here or there; it is that it is wrong root and branch. The conviction at the heart of those who engage in it is really quite simple: that America is an unmitigated evil, an irredeemable enormity." The author sets forth a definition so limiting, that I cannot conceive of a person fitting into the category of "America basher".
-
Hypothetical Iraq election outcomehttp://www.telegraph.co.uk/news/main.jhtml?xml=/news/2004/12/21/wirq21.xml&sSheet=/news/2004/12/21/ixworld.html[^] "Privately, officials concede that Iraq is likely to take "an Iranian turn" after the election, a notion unimaginable before the invasion... Now many grudgingly accept that the elections are likely to usher in an Islamic state." Please bear with me on a hypothetical situation here... Now, what happens if an Iranian-like American-unfriendly government is elected by the people of Iraq? Do we accept the decision? Do we try to impose some government on the people, perhaps citing undue Iranian influence?
-
I'm famousI'm afraid that fish would need to get a whole lot more charismatic before many people take an interest in their plight. A 'nice cuddly' mammal like a fox (how graceful, how proud, how cute) is much more apt to get attention in this respect.