Cannot run exe from asp.net Programming Web Development by lennyli … your previous discussion 13 years ago suggested to use the session state to run at a different port. Thank you for reading… Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 … anything because they’re being launched in a non-interactive session. Running a .exe on the client (user’s computer) This… Re: Cannot run exe from asp.net Programming Web Development by lennyli … anything because they’re being launched in a non-interactive session. > > Running a .exe on the client (user’s… Re: Cannot run exe from asp.net Programming Web Development by pritaeas > while at the same time run the same exe on the local client pc. Not possible. Re: Cannot run exe from asp.net Programming Web Development by pritaeas No, Javascript cannot run/start executables on the client machine. Re: Cannot run exe from asp.net Programming Web Development by rproffitt I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . You can get there. Re: Cannot run exe from asp.net Programming Web Development by lennyli Why does the following code dont run and launch the exe I specify (eg, notepad.exe, or ribbons.scr)? <%@ Language="VBScript" %> <!DOCTYPE html> <html> <Body> <% Dim objShell Dim command Dim result ' Path to the executable command = "C:\… Re: Cannot run exe from asp.net Programming Web Development by pritaeas Are you sure IIS is configured to allow running external scripts? Re: Cannot run exe from asp.net Programming Web Development by lennyli > Are you sure IIS is configured to allow running external scripts? The document folder and asp file has security permission set to ALL rights for 'everyone'. In IIS, under handler mappings for .asp files, under request restriction/access, script was chosen (not execute) for feature permissions, all 'read' 'script' 'execute' are chosen Re: Cannot run exe from asp.net Programming Web Development by lennyli > I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. > > For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . > > You can … Re: Cannot run exe from asp.net Programming Web Development by john_111 Let me expand on what rproffitt said, by explaining why. If a webpage could run a program installed on another computer, the entire world wide web would be hacked into tiny pieces and cease to exist. No one would ever use the web, it would be so totally insecure. So web pages are prohibited from running programs on your computer. They can … Re: Cannot run exe from asp.net Programming Web Development by Salem https://xyproblem.info/ * User wants to do X. Sometime later... > My boss just asked me to create a prototype as proof of concept. There is no specific language/tool I must use * User asks for help with Y. Initially asked... > Have a webpage with a button, when pressed, it will launch a webpage that runs a server side exe (eg, … Re: Cannot run exe from asp.net Programming Web Development by Reverend Jim >No, Javascript cannot run/start executables on the client machine. Technically correct but there are ways around it. For example, save a file in a special folder on the target computer, which has a folder watch on that folder. The watching task could then trigger a local task. Re: Cannot run exe from asp.net Programming Web Development by gediminas.bukauskas.7 Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Re: Cannot run exe from asp.net Programming Web Development by lennyli > Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Sure, I understand, but for my above new … Re: Cannot run exe from asp.net Programming Web Development by Salem > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. So did it even give you `print("Waiting for a connection...")` ? Consider making your server main like this. if __name__ == "__main__": print('Server Begin') … Re: Cannot run exe from asp.net Programming Web Development by lennyli > > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. > > So did it even give you `print("Waiting for a connection...")` ? > > Consider making your server main like this. > > if __name__ == "__main__": >… Re: Cannot run exe from asp.net Programming Web Development by lennyli I fixed the problem by ensuring the path is including python. Also on the server I must run pip install Thank you all All working now Re: Cannot run exe from asp.net Programming Web Development by Salem Congrats on getting going. > Even if i run the setup and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected. Yeah, this won't transform the PATH of any existing process. In increasing annoyance order, you may have to: 1. Start a new cmd window 2. Log out and log in again 3. Reboot … session state not sticking Programming Web Development by carrathanatos … Dim username Dim passwordForm Dim passwordDB Session.Abandon username = Request.Form("…Session.Abandon rsLogin.Close Set rsLogin = Nothing Set adoCon = Nothing %> <!-- Link to test session state: <a href="session….asp">session</a> -->… Usefull parameters in session State Sql Server? Programming Web Development by Javier_3 Hi, I want to use session state in mode SQL Server I googled some …gt;` in web.config file like: * Sql command time out. * State network time out. * Compression enabled. * Max pool size. * …about these parameters: * These parameters are obligatory to use this session state? * Is usefull Compression enabled to increase web site performance?… Combining CheckBoxList + Session State + DataBind ! Programming Web Development by aero100 … checkbox list which when items are selected are put into session state. I want the items selected to be put into… session state so I can display them on the postback url page. … the above together then have whatever selected items put into session. I will be going from the original page to the… Re: Hi how to store arraylist values in session state Programming Web Development by alc6379 …]must[/b] postback to get the correct values saved to session state. If you just use a hyperlink, for instance, to go…'s either after you've done a PostBack to save session state. However you do it, it's going to be required… doesn't know you've made a change to the state if you don't post back. Bind Session state to Gridview Programming Web Development by ashkan3030 …: [code]List<string> shopingCart = (List<string>)Session["shopingCart"]; if (shopingCart == null) { shopingCart = new List<…"]);[/code] I store the ID of each product in Session state(which is unique), then I want to show all selected… Re: how does IIS deal wth session state? Programming Web Development by binoj_daniel What do you mean by Session State? The default session has a timeout of 20 mins. Now if you are referring to View State i can probably give you more details. Get a Session state from a Query Programming Web Development by lordj17 … wondering if anyone knew of a way to store a session state variable from a Query based on information in an access… into site I want to store their CustomerID as a Session Variable to track them as they use the site, is… Hi how to store arraylist values in session state Programming Web Development by thanigaimani83 … many places of my pages .. i putting arraylist values in session state . if my page is postback that arraylist getting values are…. whats problem in page.. how to store arraylist value in session or viewstate ...with page is postback and not post back… control session state using javascript Programming Web Development by Stephen901 How can I perserve the session state of a SharePoint browser state using javascript? Re: how does IIS deal wth session state? Programming Web Development by majestic0110 I think view state and session state are dealt with by IIS in the same manner, i.e. using a dictionary (I think - I am unsure). Re: how does IIS deal wth session state? Programming Web Development by hollystyles … field within the rendered webpage, session state is held in the memory of the webserver. Each session has a unique id called a…