Sponsored Content
Special Forums Windows & DOS: Issues & Discussions How to detect if a Windows app dies?? Post 302098915 by jimmyc on Thursday 7th of December 2006 10:06:01 AM
Old 12-07-2006
Thanks All: Our customer has asked for this request but it doesn't seem to be a "hot" topic for them. I'll go down that road if it becomes more of a issue. One thing I might be able to do,... Our application opens tcpip ports. I could poll that port ever 15 minutes if its gone then I might have a pretty good idea our app is toast. A netstat -a and search for our IP port "should" be pretty simple. I'll look into "net start" and see what that offers.

Hay... this is a GREAT site Keep up the good work !!!!
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Needing a line feed for windows app

I wrote a program to format data with awk. This file will goto a windows machine and loaded into a windows app. The vendor said adding a line feed would help, but it would work as is. I am already doing a /n, will putting on the /r give the windows person what he wants. Thanks. (5 Replies)
Discussion started by: benefactr
5 Replies

2. UNIX for Dummies Questions & Answers

simple app to communicate windows and linux/unix

Careful!!! This is a newbie question! Hello Community I'd like to develop a very simple application, on the one side (some windows pcs with a listener and sender) on the other side a linux server that does the same. Any suggestions about doing that? telnet, smbclient????? It must be... (3 Replies)
Discussion started by: ncatdesigner
3 Replies

3. UNIX for Dummies Questions & Answers

FTP thru Unix doesn't auth usrname & pswd, but Windows app does - why?!

Strange one this... One of our contacts switched FTP servers, a different IP and now using port 2121 instead of 21. Changed the details in a Windows application using the username & password provided and it works no problem. Tried to FTP through Unix and although I can connect to the... (2 Replies)
Discussion started by: macca74
2 Replies

4. Windows & DOS: Issues & Discussions

Linux remote app on Windows

So I have been playing around with some code and thought I would tap the vast Linux knowledge here. My company has a bunch of servers running Linux on the Amazon cloud. I have created a Windows application in C++ that acts like a remote desktop to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies

5. Windows & DOS: Issues & Discussions

Controlling AIX processes remotely using a NET app on a Windows server?

I have a .NET application that remotely starts, stops, and gets status of Windows services and scheduled tasks. I would like to add the capability of starting, stopping, and getting status of remote AIX applications also. Based on some preliminary research, one option may be to use 3rd party .NET... (0 Replies)
Discussion started by: auser1
0 Replies

6. UNIX for Dummies Questions & Answers

Windows app over Sun Fire 445?

Please, I have a professional application that run only over windows, but I have a Full Sun Fire 445 for that. Someone can sugest me about how to do? Wich S.O can be use. Thanks before hand. Please read the forum rules again. Rule #9 should be in your focus. Thank you! (9 Replies)
Discussion started by: abelop
9 Replies

7. OS X (Apple)

Can a ios app be developed on a windows or ipad?

hi, i want to start developing an ios app that can be used on iphone and ipad. can anyone guide me how to start? i saw that it can be developed only on a mac system.. but i dont have a mac system. i have an ipad 4 and a laptop with windows os? can i use one of these to start developing ios app??... (4 Replies)
Discussion started by: Little
4 Replies

8. OS X (Apple)

Detect active usb device used by app

I've searched a number of sites but thought I'd post it here. I'm want to a detect certain usb device (external camera) that is actively being used by an app on a mac. My search has led me through looking at the system events log to see if there is a ProductID indicator logged. The device is... (2 Replies)
Discussion started by: dallas88
2 Replies

9. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
Dancer::Session(3pm)					User Contributed Perl Documentation				      Dancer::Session(3pm)

NAME
Dancer::Session - session engine for the Dancer framework DESCRIPTION
This module provides support for server-side sessions for the Dancer web framework. The session is accessible to the user via an abstraction layer implemented by the Dancer::Session class. USAGE
Configuration The session engine must be first enabled in the environment settings, this can be done like the following: In the application code: # enabling the YAML-file-based session engine set session => 'YAML'; Or in config.yml or environments/$env.yml session: "YAML" By default sessions are disabled, you must enable them before using it. If the session engine is disabled, any Dancer::Session call will throw an exception. See "Configuration" in Dancer::Session::Abstract for more configuration options. Route Handlers When enabled, the session engine can be used in a route handler with the keyword session. This keyword allows you to store/retrieve values from the session by name. Storing a value into the session: session foo => 'bar'; Retrieving that value later: my $foo = session 'foo'; You can either look for an existing item in the session storage or modify one. Here is a simple example of two route handlers that implement basic "/login" and "/home" actions using the session engine. post '/login' => sub { # look for params and authenticate the user # ... if ($user) { session user_id => $user->id; } }; get '/home' => sub { # if a user is present in the session, let him go, otherwise redirect to # /login if (not session('user_id')) { redirect '/login'; a }; Of course, you probably don't want to have to duplicate the code to check whether the user is logged in for each route handler; there's an example in the Dancer::Cookbook showing how to use a before filter to check whether the user is logged in before all requests, and redirect to a login page if not. SUPPORTED ENGINES
Dancer has a modular session engine that makes implementing new session backends pretty easy. If you'd like to write your own, feel free to take a look at Dancer::Session::Abstract. The following engines are supported out-of-the-box (shipped with the core Dancer distribution): Dancer::Session::YAML A YAML file-based session backend, pretty convenient for development purposes, but maybe not the best for production needs. Dancer::Session::Simple A very simple session backend, holding all session data in memory. This means that sessions are volatile, and no longer exist when the process exits. This module is likely to be most useful for testing purposes, and of little use for production. Additionally, many more session engines are available from CPAN, including: Dancer::Session::Memcached Session are stored in Memcached servers. This is good for production matters and is a good way to use a fast, distributed session storage. If you may be scaling up to add additional servers later, this will be a good choice. Dancer::Session::Cookie This module implements a session engine for sessions stored entirely inside encrypted cookies (this engine doesn't use a server-side storage). Dancer::Session::Storable This backend stores sessions on disc using Storable, which offers solid performance and reliable serialisation of various data structures. Dancer::Session::MongoDB A backend to store sessions using MongoDB Dancer::Session::KiokuDB A backend to store sessions using KiokuDB Dancer::Session::PSGI Let Plack::Middleware::Session handle sessions; may be useful to share sessions between a Dancer app and other Plack-based apps. DEPENDENCY
Dancer::Session may depend on third-party modules, depending on the session engine used. See the session engine module for details. AUTHORS
This module has been written by Alexis Sukrieh. See the AUTHORS file that comes with this distribution for details. LICENSE
This module is free software and is released under the same terms as Perl itself. SEE ALSO
See Dancer for details about the complete framework. perl v5.14.2 2012-01-27 Dancer::Session(3pm)
All times are GMT -4. The time now is 05:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy