|
woo hooo i have done it sir...... if u need any kinda help i m ready
thanks again
|
|
|
|
|
can i have ur email id so that i can send u the screenshot ??
|
|
|
|
|
if i give u all my passwords will u b able 2 do that 4 me ?
|
|
|
|
|
Hang on a minute, let me translate from text-speak to english..........
[translator output]
If I give you all my passwords would you be able to do that for me please?
No, why don't you have a go yourself, sheesh, if your messing about with blogs and domains and visiting codeproject, you must have some IT interest, where is your willingness to learn?
What is to say that you give me your password and I redirect your domain to some dodgy porn website and then change the passwords to lock you out from your account and then start using your domain to send millions of spam messages and host malware?
A bit too trusting are you not?
If your provider has any sort of decent site/support, then it should be laid out in an easy to follow FAQ.
Who is your provider? what is their web address?
|
|
|
|
|
Oh, please send me all your passwords, and I will do it, but only, if you also send me all your credit card information.
No really, why would you trust a complete stranger on this?
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Don't post across forums.
You posted this in Q&A and were answered there.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
I have a simple test web application with a single Default.aspx page with 2 buttons having the following handlers:
What surprises me is I expected to get the same session ID between successive clicks of either buttons but I get different session ID's each time. I expected this to be different clicking from 2 different iexplorer instances and more so between an iexplorer and chrome / firefox.
Also, from this experiment, it is obvious that HttpContext.Current.Cache is shared among clients as I get the values inserted from prior requests from different browsers.
protected void _btnAdd_Click(object sender, EventArgs e)
{
int cacheCount = HttpContext.Current.Cache.Count;
Random rnd = new Random();
HttpContext.Current.Cache[cacheCount.ToString()] = TextBox1.Text;
int intLessThanCacheCount = rnd.Next(cacheCount);
_lblCacheIndex.Text = intLessThanCacheCount.ToString();
_lblCacheValue.Text = (string) HttpContext.Current.Cache[intLessThanCacheCount.ToString()];
lblSessionId.Text = HttpContext.Current.Session.SessionID;
ViewState["Value"] = TextBox1.Text;
}
protected void _btnGet_Click(object sender, EventArgs e)
{
int cacheItems = HttpContext.Current.Cache.Count;
Random rnd = new Random();
int intLessThanCacheCount = rnd.Next(cacheItems);
_lblCacheIndex.Text = intLessThanCacheCount.ToString();
_lblCacheValue.Text = (string)HttpContext.Current.Cache[intLessThanCacheCount.ToString()];
lblSessionId.Text = HttpContext.Current.Session.SessionID;
lblSessionValue.Text = ViewState["Value"].ToString();
}
----------------------------------------------------------
Lorem ipsum dolor sit amet.
|
|
|
|
|
Session ID will be different for different browsers, why did you expect to see the same?
Session is recognized by user's cookies.
HttpContext.Current.Cache is shared across application domain (MSDN[^]). If your IIS is configured to run as web farm (it can use not one process to serve requests) - cache object will be different for each process. In any other case it is the same.
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
|
|
|
|
|
No I didn't expect the Session ID to be the same for different browser programs. In fact I only expected the Session ID to be the same on the same browser instance (not even for the same browser program but different instances) between each postback but it's not. I half-expected the Session ID to be the same though in the same browser instance from different tabs.
----------------------------------------------------------
Lorem ipsum dolor sit amet.
modified on Monday, June 21, 2010 1:06 AM
|
|
|
|
|
If you're not actually storing anything in session, the server won't bother persisting it. So you'll get a different sessionid each time.
|
|
|
|
|
Hello everyone!
I'm implementing a javascript function that must show a modal dialog with Yes-No-Cancel buttons and return the selected value.
I have found a workaround for IE, Firefox, Chrome and Safari (using window.showModalDialog ).
Does anyone know any solution for Opera? It doesn't support showModalDialog
Or, as a variant, maybe there's any implementation of noop for Opera? (non CPU-intensive loop)
The problem is that I can't show a modal dialog in such way:
show(success: function() { ... });
My function is called from external javascript component, and this component is expecting the result in synchronous way.
Thanks in advance.
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
modified on Friday, June 18, 2010 4:02 PM
|
|
|
|
|
showModalDialog is not part of any web standard. I would look into the way that the AJAXControlToolkit ModalPopupExtender does it by showing a div with a high z-index that covers the page and captures any events that would normally go to the items behind it.
And noop usually means "no op" i.e. no operation performed/do nothing and has nothing to do with loops.
|
|
|
|
|
Yeah, you are right, showModalDialog is not a part of any web standard but it's supported by all web browsers.
Furthermore, Opera tells this:
typeof(window.showModalDialog) will be "function"
But I don't understand how to use it in Opera
Using a div with high z-index will be not acceptable because it will not allow to wait while the user clicks on it. Yeah, I know how to implement everything using div-s but the problem is that my function must be called from external JS-component and return the ansewer to it. The component's code cannot be changed.
Yeah, I mean exactly non cpu-intensive no-operation, if it exists, this means that non cpu-intensive loop can be easily implemented. Please sorry me for inaccuracy.
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
|
|
|
|
|
http://www.ericmmartin.com/projects/simplemodal-demos[^]
try to use jquery. it will take just a single line of code to show a dialog box... after including its js file. if you want to do it of your own then you need to compromise all the web browsers and this will be taken care by jquery. a javascript frame work.
of if you want to do it of your own... ready about z-index and opacity...
the gimmick is display a transparent div with 100% height and 100% width with the z-index more than any existing element. for example this overlay div will have zindex as 95. then display your rectangle dialog which will contain all three buttons above the overlay div with zindex more than 95. now try to click apart from the dialog rectangle( on any hyperlinks). nothing happens. the overlay div receives the mouse clicks because it has occupied the complete screen. once you click any button in the dialog then make the overlay div to display none and hide the rectangle.
the above link is just an example. use the last one. and there are more than this in the web... so chose the one which will suite your design.
and here is another use full link...
http://jquery.malsup.com/block/#demos[^]
you can search the web like "jquery modal dialog" and try to use your own words...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
Thanks.. But it's not what I'm searching for
It's modal but not synchronous. The key moment is that using this library, I cannot wait until the dialog is closed, like in:
alert("test");<br />
...
Die Energie der Welt ist konstant. Die Entropie der Welt strebt einem Maximum zu.
|
|
|
|
|
Thanks for the links, I have been looking into this for a while.
|
|
|
|
|
Hi All,
I've a problem that when i'm loading program of reading the excel sheet using "usedrange" property so its running well but when i integrated this code with my Google map API code so its showing an error in property of "usedrange" is that "its undefined or null or not an object". Please can anyone make this code run well.Or tell me the better alternative. I'm badly in need of this code error free:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Google Maps API Sample</title>
<script src="http://maps.google.com/maps?file=api&v=2&sensor=fa lse&key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8m ADN a0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q" type="text/javascript"></script>
</head>
<body onload="initialize()" onunload="GUnload()" style="font-family: Arial;border: 0 none;">
<div id="map_canvas" style="width: 500px; height: 300px"></div>
</body>
</html>
function initialize() {
var farah=new Array()
var Excel;
Excel = new ActiveXObject("Excel.Application")
Excel.Visible = false
var a=Excel.Workbooks.Open("C:/desktop/test.xlsx").sheets(1)
for (var r=1;r<=a.usedrange.rows.count;r++)
{farah[r-1]=new Array()
for (var c=1;c<=a.usedrange.columns.count;c++)
farah[r-1][c-1]=a.Cells(r,c).Value;}
var x=0,y=0;
for(len in farah)
{x+=farah[len][1];
y+=farah[len][2];}
p1=(x/farah.length)
p2=(y/farah.length);
//document.write(p1+p2);
if (GBrowserIsCompatible())
{
var map = new GMap2(document.getElementById("map_canvas"));
var center = new GLatLng(p1,p2);
map.setCenter(center, 10);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
function createMarker(point) {
var marker = new GMarker(point);
GEvent.addListener(marker, "click", function() {
marker.openInfoWindowHtml("Marker lattitude and longitude" + point + "karachi" );
});
return marker;
}
var point=new GLatLng(78.9,122.9)
map.addOverlay(createMarker(point))
}}
|
|
|
|
|
You could start by editing the above message and putting the code block within <pre></pre> tags so it is at least readable. And after you have edited it please use the preview button to check it before reposting.
It's time for a new signature.
|
|
|
|
|
Hi
i'd like to create a web project using MVC and Oracle 10g.
Any step by step code sample? Or suggestions ?
I'm a beginner about this technology
Thanks in advance for any information you'll provide to me
Max
|
|
|
|
|
|
hi all, How to create xmpp client using C#? I want to develop an application that will chat with xmpp server like jabber etc?
it's manjeet!
|
|
|
|
|
choose a single forum to ask your question, and stick to it.
|
|
|
|
|
Hi,
After click the Submit button in my ASP.NET/Sharepoint application, I am getting the error:
Bad Gateway
The proxy server received an invalid response from an upstream server.
Thanks in Advance
|
|
|
|
|
Has nobody ever heard of Google[^]???
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
nils illegitimus carborundum
|
|
|
|
|
digital man wrote: Has nobody ever heard of Google???
Tell me more, please. Sounds funny, this Google-thingy.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|