Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
session.getattribute
- Page 1
Re: Crosshair has a vertical and horizontal line to view the value of the axis.
Programming
Software Development
1 Week Ago
by rproffitt
Given the **antipathy** towards AI here, all I can share is if you put "i want to add Crosshair , a vertical and horizontal line to view the value of the axis is this available for charts in vb.net 2017." into a chatgpt
session
, you'll find a solution in about 20 seconds.
Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by lennyli
… your previous discussion 13 years ago suggested to use the
session
state to run at a different port. Thank you for…
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
by pritaeas
No, Javascript cannot run/start executables on the client machine.
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
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
2 Months Ago
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
2 Months Ago
by pritaeas
Are you sure IIS is configured to allow running external scripts?
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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
2 Months Ago
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 …
Re: Cannot run exe from asp.net
Programming
Web Development
1 Month Ago
by Dani
Marking this question as solved. Thanks all!
session.getAttribute caused "inconvertible types" exception
Programming
Web Development
11 Years Ago
by Tu Dinh
…quot; ;%> <% try { IsValidUser = (boolean)
session
.
getAttribute
("IsValidUser") ; //THIS IS WHERE THE ERROR CAUSED… true) { UserName = (String)
session
.
getAttribute
("UserName"); } else { LoginTriesTime = (int)
session
.
getAttribute
("LoginTryTimes"); //THIS IS WHERE…
HttpSession, session.getAttribute(), problem
Programming
Software Development
14 Years Ago
by ARaza110
… before setAttribute(); Here is the code: [code]Vector buylist=(Vector)
session
.
getAttribute
("Register"); if (action.equals("del")) { String…"); int d = (new Integer(del)).intValue(); buylist.removeElementAt(d); }
session
.setAttribute("Register", buylist);[/code] Thanks.
Re: HttpSession, session.getAttribute(), problem
Programming
Software Development
14 Years Ago
by masijade
… reason to have to place it back into the
session
, unless it is null after the get call, …. i.e. [code]ArrayList<String> bogus =
session
.
getAttribute
("bogus"); if (bogus == null) { bogus = new… ArrayList<String>();
session
.putAttribute("bogus", bogus); } // do whatever you want with…
Re: HttpSession, session.getAttribute(), problem
Programming
Software Development
14 Years Ago
by mKorbel
crossposted [url]http://stackoverflow.com/questions/5632113/httpsession-
session
-
getattribute
-problem[/url]
Re: session variables containing null on other page
Programming
Web Development
14 Years Ago
by javaAddict
session
.setAttribute("[B]sessumobile[/B]", user1)
session
.
getAttribute
("[B]sesspassword[/B]")
session object is losing data
Programming
Web Development
12 Years Ago
by eddiesaliba
…<body> <% String usLogged = (String)
session
.
getAttribute
("user"); if (usLogged != null) { %>…<body> <% String usLogged = (String)
session
.
getAttribute
("user"); if (usLogged != null) { %>…
getAttribute returns NULL
Programming
Web Development
16 Years Ago
by itzzmeyoyo
…a value from servlet to jsp using setAttribute and
getAttribute
. My test code : Test1.jsp ======= [code…" %> <% String up = (String)
session
.
getAttribute
("myText"); %> <html> <… the time iam getting null from
getAttribute
. [code] <% String up = (String)
session
.
getAttribute
("myText"); %> …
Session Scope Problem!
Programming
Web Development
14 Years Ago
by leeRH
…"); out.print("Name value in
session
object: "+
session
.
getAttribute
("sessionMyObject.name"));
session
.invalidate(); %> </body> </html…
Re: Session Scope Problem!
Programming
Web Development
14 Years Ago
by kumarvishal_vk
…//Display 'name' variable in the
session
object out.print("Name value in
session
object: "+((testClass)
session
.
getAttribute
("sessionMyObject")).name); %>…"); out.print("Name value in
session
object: "+
session
.
getAttribute
("sessionMyObject.name")); //
session
.invalidate(); %> </body> </…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC