Hello,
For C#, I hate writing out the variables and then writing out all the properties. Isn't there a way to select all variables, right click and create all the properties.
I'm trying to link my 3rd party shopping cart to PayPal, and in the process I'm finding that my variables are extremely exposed, such that, if someone uses, say, Firebug, to manipulate the values of my variables, they can change the cost of the items in the transaction.
I'm very new to online carts and shopping, so my question is how do I keep this layer of exposure away from users and secure for the website?
Hi,
I want my silverlight application to work out of browser and it should support on demand loading of assemblies as well.
If i implement on demand loading of assemblies, what will happen in case of out of browser support, will it work fine? or it will download all the assemblies during the installation itself.
Thanks,
Mrinal Jaiswal
SWF added using swfobject 2.0 and it loading fine on firefox and IE7 but not loading on IE6?
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("loader.swf", "flash-banner", "920", "320", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
Hello everyone.
In Firebug the DOM tab shows a list of all your public variables and objects. In Chrome's console you have to type the name of the public variable or object you want to explore. Is there a way - or at least a command - for Chrome's console to display a list all the public variables and objects? It will save a lot of typing.
Thank you all
Stefanos
Hello,
I am doing web based projects in dotnet. Currently I am implementing security using session variables. I keep current user id and user type in session and authenticate user from these session variables (say Session["UserId"],Session["UserName"] and Session["UserType"]) I do authentications.
Please guide me how it is insecure ? I heard such security can be broken and applications can be hacked very easily, like it is possible to get session id and directly connect to that session id etc.
Please guide me on this
thanks
I'm loading pixels from an image which is 32 w by 32 height. The format I'm loading them in is ARGB via java. When I bind this to the video card, I can expect that the video card might use somewhere around 32*32*4 bytes, or 4K.
Similarly, 1024 w, 1024 h would be 1024*1024*4 = 4MB.
Is my understanding correct? Now I understand where all the memory goes!
Dear All
I need to generate a series of N random binary variables with a given correlation function. Let x = {x_i} be a series of binary variables (taking the value 0 or 1, i running form 1 to N). The marginal probability is given Pr(x_i = 1) = p, and the values should be correlated in the following way
E[ x_i x_j ] = const * |i-j|^-alfa
where alfa is a positive number.
Is it possible to generate a series like this?
preferably in python.
In FitNesse, can variables be defined in terms of other variables?
I want to do the equivalent of:
int a=3;
int b=a;
To make this concrete, I have a variable defining the date:
!define clock.date {2/2/2009}
I then want to define some other variable ${other.date} based on it, something like:
!define other.date {=${clock.date}=}
However, this doesn't work. Is there any way to do this?
Debugging a PHP program, is there any add-on/plug-in for browser which I can view sessions variables (those PHP $_SESSION["foobar"] )?
Best if I can change the value in the variables. Thanks!
Im trying to display a loading gif before submitting a multipart-form (file upload), this is my code.. but the image is not displaying.. if i remove the submit() it displays, so.. is not a path or syntax problem.
$('#btnSubmit').click(function() {
document.getElementById('loader').innerHTML = "<img src='<?= url::base() ?>themes/img/loading.gif' border='0' />";
$('#uploadform').submit();
});
Dear overflowers,
I have a rather large dataset in a long format where I need to count the number of instances of the ID due to two different variables, A & B. E.g. The same person can be represented in multiple rows due to either A or B. What I need to do is to count the number of instances of ID which is not too hard, but also count the number of ID due to A and B and return these as variables in the dataset.
Regards,
//Mi
I'm working with a UIWebView loading local (i.e. in the source bundle) html pages, ala Apple's Transweb example. Loading the first page is trivial. However, I have added a second html page and linked to it from the first. Attempting to link to a second page doesn't seem to work.
Anyone know how to make this work?
Thanks.
I am using below code where , i want to show dialog in front and loading content in background but not able to do the same . Please advise.
dialog = ProgressDialog.show(this, "", "Loading. Please wait...", true);
runOnUiThread(new Runnable(){
public void run() {
setContentView(R.layout.main_layout);
dialog.dismiss();
}
});
Im looking for a loading (progress bar) like the one seen in the the mobile safari app. I want a bar to cross a uitextfeild using the actual loading data. Has this been done?
Thanks!
Hello I'm a new android developer.
I want to do a welcome page which can display program logo [ full screen image] and loading progress of my main program.
My main program has to load a webpage. My question is how to display the web-loading progress of the main program on the welcome page, while showing the welcome page until the download is completed.
Hi I was going through the SCJP book about the innerclasses, and found this statement, it goes something like this.
"A method local class can only refer to the local variables which are marked final" and in the explanation the reason specified is about the scope and lifetime of the local class object and the local variables on the heap, But I am unable to understand that.am I missing anything here about 'final'??
How can i detected WebBrowser complete loading?
i tried to use Navigate and DocumentCompleted events but both of them raised a few times during document loading!
What could happen if my template looks for variables which weren't assigned?
For example:
var uwfs_id = '{$tpl_uwfs_id}';
This snippet is from my javascript code. I outputted the value and it is simply empty. I know I could use isset(). But I couldn't find anything about how Smarty handles non-existing variables. So, what happens if template can't find a variable, because it wasn't assigned?
I'm looking for a way to create variables dynamically in javascript
eg
I have a loop
for (i=0;i<15;i++){
}
now I need to create variables dynamically eg var "a"+i for eavh value in the loop. Is this possible and how?
Hai
am having a WPF user control, when i use that control in another window it loading twice, so its throwing exception for me, coz am having some function in usercontrol_loaded event, when it loading twice it throwing error, is there any other way to check if the usercontrol is loaded like that, else how to solve this issue.
jquery ui tabs supports loading content through ajax here but if i have already loaded previous content and i click on it again, it stays on the old content until the new content is fully loaded
is there anyway to clear the content right when you click the tab so its clear that a new set of content is loading. I see there is a load event but this fires after the new content is loaded. i need a beforeload event or something like that
any suggestions?
I know how to print "all" global variables using the following code
for k,v in pairs(_G) do
print("Global key", k, "value", v)
end
So my question is how to do that for all variables that are accessible from the currently executing function, something that can do what locals() does for Python.
I was working with PreparedStatement today and noticed that it used setString() setTimestamp() etc. to insert variables into the DB.
I basically have 20 tables each with at least 15 columns and it would not be feasible for me to manuallt write down all the setters. Considering that I have an ArrayList "Vals" which contains all the variables to be inputted in String format (obtained by getString() using PreparedStatement itself), is there any way I can do an insert without using expressly using the Setters? That would save me a lot of time.