473,903 Members | 4,235 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get available physical memory using javascript/VBScript NOT USING WMI ??

2 New Member
How to get available physical memory using javascript NOT USING WMI ?? any other way?
I need to achieve this by using javascript/vbscript and I cannot use WMI. Please let me know the possibilities.
Sep 9 '09 #1
4 7906
8,658 Recognized Expert Moderator Expert
I’m not aware that javascript can do that at all.
Sep 10 '09 #2
202 Recognized Expert New Member
Question 1:- Why do you want to get available physical memory for the client. I can unerstand if someone wants know physical memory of the server (to know how much space is left to save/process data); But client acts only the role of presentation layer and submiting requests to the server.

Question 2:- Why a client will allow accessing its physical memory when it knows there are lots of malicious scripts are waiting for such information.

Question 3:- Why javascript will ask for physical memory when it is a client side scripting language.

Answer the above three questions and you will get your answer.
Sep 10 '09 #3
2 New Member

Thanks for the explanation. You are really an expert.

1.)The requirement was to check if the user is a particular domain, physical memory, IP address, etc. This helps the end users to know in which domain they are. Moreover, they come to know the available physical memory which they compare to the minimum requirements as new applications are being pushed to the users desktops.

2.) Client may not allow to fetch the data directly, and that is the reason I was asking for a back door entry.

3.) The motive is to get these details. If there is any better way to get the client's machine details, please let me know. That'll help me.

Praveen Ghantasala.

Sep 14 '09 #4
5,390 Recognized Expert Moderator Expert
as it was already said ... you cannot achieve that with JavaScript ... since JavaScript is intentionally designed to influence the behaviour of webpages or the browser and especially to not! do things that a client typically will not allow. So thinking of a backdoor might be an idea but JavaScript itself will not have such possibilities. Having said this, you could imagine that the browsers itself might have access to specific information at the client and so there might be ways when you could rely on some specifics ... like specific browsers and/or browser settings ... for example you might use the nsIMemory interface in mozilla browsers to alloc or free memory, which will rely on enhanced privileges that a user has to allow before. so this is only recommendable when you are in a closed einvironment like an intranet or similar ... where you could control such things. And as you could see you would have to implement that fully different in IE since such things basicly would need to use very browser-specific APIs ... so for public webapplications that wouldn't be an option ... or at least no option that would work reliable.

kind regards
Sep 15 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I need to: 1. Click a submit button on an asp page, calling another page that saves the contents of that form to a database and then displays
by: Sergio Otoya | last post by:
Hi all, Is there any way of copying a file using javascript, not using the Filesystemobject (ActiveX). I need this to run in Windows and MACS. Any help would be greatly appreciated. Thanks in advance. Sergio Otoya.
by: GirishKumar | last post by:
Am interested to know any available parsers for ASP / JavaScript / VBScript... OR any site info giving grammar of these... -- Girish Kumar Satyam
by: Olumide | last post by:
Thats the question. I know about virtual memory, and the MMU. I just wonder if array members guaranteed to be contiguous in physical memory (and if so, why). Thanks, Olumide
by: Sharon | last post by:
I have an application that fails to allocate all its memory on physical memory. I have a Windows XP with 2 GByte RAM. Can anybody tell me how to configure the allowed physical memory for each application in the Windows XP so the application memory allocation will not use any of the virtual memory? I’m not talking about the .NET framework. I need to configure the Windows itself.
by: Roy X | last post by:
Hello - I am trying to embed JavaScript to an ASP page which will be executed on the server side and will send a HTTP request from the ASP Web server another remote server. Then I need to capture the remote server's response and save it as a string. Any help will be greatly appreciated.
by: doudehou | last post by:
Hi guys, I want to get the physical memory status, say, the total amount of physical memory, the free memory, and so on, from the javascript, is it a mission impossible? Thank you very much for your help ! ;-)
by: jatrojoomla | last post by:
Hi, I am New in JS world, I want's to submit a from using JavaScript ? is it possible? if yes then how? how to impliment document.form.submit? plz help me.
by: pp | last post by:
hi, on window we can GlobalMemoryStatusEx() to get the memory status on the system do we have any equivalent function on Unix/linux? can we use BOOST library to memory information on the unix? please help me.
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.