Online or Offline status
I love the way the Adobe Forum is structured where you can
see if a user is online or offline. I wish to produce the same
method. I have a list of users in my admin page where I see the...
Username | First Name | Last Name | E-mail
I wish to make a fifth column called status that would have
online or offline such as...
Username | First Name | Last Name | E-mail | Status |
MySQL statement looks as such...
CREATE TABLE `adminusers` (
`userID` int(11) NOT NULL auto_increment,
`userName` varchar(50) NOT NULL default '',
`userPassword` varchar(50) NOT NULL default '',
`emailAddress` varchar(50) NOT NULL default '',
`firstName` varchar(50) NOT NULL default '',
`lastName` varchar(50) NOT NULL default '',
`date` timestamp NOT NULL default CURRENT_TIMESTAMP,
`userTypeID` int(11) NOT NULL default '3',
PRIMARY KEY (`userID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
I believe that the online/offiline status is a boolean
statement but I am not sure and do not know how to incorporate it.
Can someone help me what I must do. Thank you all for your
help.
AdonaiEchad wrote:
> I love the way the Adobe Forum is structured where you
can see if a user is
> online or offline.
There is no way that you can tell whether someone is online.
The web is
stateless. All that Adobe is doing is taking an arbitrary
time since
that individual either logged in or last clicked a link. It's
done by
updating a timestamp each time the visitor clicks a link.
Online or
offline status is determined by the time elapsed since the
last activity
(usually 5 or 10 minutes).
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Similar Messages
-
Mailbox online/offline status
All of a sudden my mailbox status changes from online to offline status spontaneously, i.e. I do not want the change and have not made it manually. I change it back to online, then all of a sudden it goes back to offline status.
What can be causing this? Having to correct the status time after time is aggravating.In doing some research, I am surprised at how many people in Panther AND BEYOND are having this problem: which is that a use of Mail causes one's mailboxes to be kicked offline. Seems no one has a real answer to the problem. Some have suggested there is a bug in the Mail application, but that hardly seems likely, as I have never had this happen in a period of 7 years until recent months. Sometimes the problems spontaneouly disappears, but then crops up again in a few weeks. Exasperating
-
Script for getting the online/offline status
Hi all,
After enabling checkbox of "Enable assistive access device" is possible to get the online/ offline status.From Menu we will get the status.Without doing this i want to get the apple mail account online/offline status.hope some help scripts for this.[That script|http://discussions.apple.com/message.jspa?messageID=11012484#11012484] could change the Online Status of all mail accounts. The following one will just report their Online Status. Is this what you are (were) asking for?
--BEGINNING OF SCRIPT
tell application "Mail" to activate
tell application "System Events" to tell process "Mail"
set theMenu to menu "Mailbox" of menu bar 1
if enabled of menu item "Take All Accounts Online" of theMenu then
return "All accounts are currently offline"
else
return "All accounts are currently online"
end if
end tell
--END OF SCRIPT -
Getting apple mail account online/offline status through apple script
Please let me know,If anyone have idea of getting apple mail account online / offline status through apple script.
mohammed jasum k p wrote:
Otherwise how to get the online/offline status value.If u can please give me a solution for this.
this is not possible by any means I know. not every problem has a solution, sorry. -
Hi there, i am offline from skype, but when i click on the x, all the offline and online status is faded.
I have this problem also.
When I try the /showplaces command, I get the following line:
You have 1 online endpoints:
(here comes the details of my computer) Windows Skype
This is my computer.
There is no other live connection.
I tried the /remotelogout chat command but there's no other connection to close.
My partners see I am always online. The Online/Away/Do not disturb status are working but when I switched to Invisible or Offline status, the last used status is visible (online, away or do not disturb). When I select offline, the situation is the same: the last used status is visible to all of my partners. It is very annoying, they are calling me and asking why I didn't answer to their messages...
Have you got a _working_ solution to this problem? -
CM 4.4.7 Online and End Devices 4.2.3c Offline status
Hallo all,
I am running WAE-512-K9 and the Central Manager was upgraded to 4.4.7 and the Some Application Accelerators are running 4.2.3c and they seem to be showing "offline status " but they are still optimizing save for the status being "offline"
What could be the Issue here ?Hi Erasmus,
Are all accelerators running version 4.2.3c showing offline or just few? If all on same version are showing offline it could incompatibility issue between versions.
You can also go to the application accelerator CLI and execute the command:
show cms info
See what it shows. Check the connectivity between accelerator and CM. If it is fine and nothing has changed (like FW rules in between accelerator and CM) try doing the below and see if that resolves the issue.
cms deregister force.
Once deregistered go to config mode and do "cms enable".
Check the show cms info again.
Regards,
Kanwal -
HOW DO I GET MY PRINTER BACK ON FROM OFFLINE STATUS?
Just right-click on the printer icon and select 'Use Printer Online'.
Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
Click on the BLUE KUDOS button on the left to say "Thanks"
I am an ex-HP Employee. -
Determining the Outlook Offline Status on a server remotely
Hi All, I'm currently working on a project that can remotely monitor the offline status of Outlook that is running on a server.
Overview: I have a VM who's only function to to check and forward a specific email once a day. I need to know when the VM is down, Outlook is not running or Outlook is offline. I have been able to determine if the VM is down and if outlook is running
but I'm struggling with the offline status Outlook.
Here is my code (straight foward)...vbscript
strComputer = "VMEmail"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2", "outlook.Application")
PD_VM_OTKSTATUS = objWMIService.Session.Offline
Wscript.Echo PD_VM_OTKSTATUS
I'm getting a error "File name or class not found during Automation operation: 'GetObject'" Code: 800A01B0
I want to run this script from my machine. If you know whats going on or a better way to solve my problem let me know I'm open to suggestions. Also I don't consider myself a programmer/coder I'm just able to take other code and make it work the way I want.
Thanks in advanceI should also note that you cannot get a link to a remote application. You can run a script on the server that can attach locally.
You would find it better to write a macro in Outlook that monitors the online status (which will only show online if you are using Exchange direct and not SMTP.
The VBA code can be looped to look for the connection and alert when it fails.
It would make more sense to have Exchange forward the mail and dump the VM.
¯\_(ツ)_/¯ -
We are using ARD for academic purposes. Almost at random macs seem to "fall out" of ARD. They show an offline status with no IP but are most definitely on.
Currently I've found that if you attempt to re-add the mac it will successfully re-add but now showing two identical computers, one online and one offline. The primary problem with this is with our scheduled tasks running once a week it means that the list of computers needs to be updated within each task while crossing our fingerings that another doesnt "fall out" before or during the process.
Note: we are using deepfreeze, and likewise (for joining windows domains)Thanks Chicster, that worked. That won't affect the computer will it? I am assuming it will just end up displaying the new IP address it gets when it boots back in to mac?
Q -
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
Go to Offline status after sending print in HP
Hi everybody.I have two HP Laserjet 4100. Both of them after sending print from windows go to offline status and an error message appear (Yellow Error BOX in notification area).Printer screen show Ready message. The light on the printer is green and fixed. I connect printer with LPT cable to PC.I can get test print from printer menus without any error. I test printer on windows XP 32bit and windows 7 64bit. I get driver from HP Support And Driver Download Center. I install any type of driver (XP 32bit/7 64 bit/ Universal PCL5)I try to use Doctor Hp to find problem but this application is not support LPT connections. I do Cold reset and reset maintenanc counter (With holding left arrow of Items and Value keys).I used 3 diffrent and new LPT cable. I confused and tired!Please help me to solve this problem.Thanks
Right now it appears you are having communication issues from the computer to the printer since the printer will print test pages. The first thing you will want to do is use one of the 32bit computers attached with parallel cable to test communication from the port to the printer. With the printer connected to the port and I assume the lpt port is lpt1, go to start and run and type command and hit enter. At the prompt that appears in the black box type cd\windows and hit enter. Now at the C:\windows prompt, type dir >> lpt1 and hit the enter key. Does the printer data light start to flash and does the printer start to print pages. If it does, then communication is fine and you need to remove and reload the printer using the correct driver. If it does not print then you have an issue with the port on the computer, the cable or the port on the printer. Since it happens with two printers I would think that would eliminate the port on the printer. You may want to check the port setting in the BIOS of the computer. Most ports are Standard, ECP and EPP. Best to set the port for Standard when using an old legacy printer. Good Luck.
-
How to implement XI interfaces in online and offline modes?
Hi Everybody,
Can you please tell me how to implement XI interfaces in online and offline modes?
thanks a lot,
Ramya Shenoy.Hi,
Are you looking for Push and Pull mechanism of PI?
When the adapters like SOAP, HTTP, IDOC, etc. send the data to PI , it is nothing but a push mechanism, and hence the communication is synchronous by default.
But adapters like JDBC, File, etc. they fetch the data from Source Applications, so it is a kind of Pull mechanism for PI, and
by default communication is asynchrnous.
Pls elaborate exactly what are you looking for?
Regards,
Supriya. -
Wut mean by online and offline option in OBIEE Administration?
Hello Dears ,
any one cane told the difference of online and offline option to open a repository in oracle BI Administration?
Regards
shakeel khanOBIEE Administration can be done in two modes
1) Offline
2) Online
Offline: Where most of the developement work is done and repository is not loaded in to the server
Online: Repository is loaded in to server and few modifications are done.
When the services are started( Bi Server and Presentation Server) the repository is loaded in to the server and when try to open the repository in Offline mode it open in Read only mode. -
AE 12.2 - online or offline updates?
Just updated adobe applications, not sure after effects was even one of them but hey, and my workspaces have disappeared.
Ae says it's version 12.2.1.5
I'm aware they're about to update, but I'm not keen on downloading that until bug roll outs come into force.
C:\Users\ME\AppData\Roaming\Adobe\After Effects\12.2\ModifiedWorkspaces
I have two modified workspaces in here, xml files, yet in AE I only have the standard options, with new, delete and reset at the bottom.
Is this to do with sync settings and being online or offline? What do I need to do to get these back.. I'm sure those two workspaces are what I need, they just aren't loaded in at all?
I have re opened a few times.
Thanks all.Any one have any hints on this?
I can see where my account is connected to now but don't know where it would have been kept or connected to before..
I just find this a bit confusing. Any light on this would be great. -
To find timestamp of Exchange 2010 Online Archive Execution Status
Hi,
I would like to have Exchange online archive execution timestamp whenever it's running through managed retention policies.
Can anyone help to provide the script or way to find the last online archive completion status for individual mailbox level?
The following command does not providing when the last online archive completed.
==============================================================
Get-Mailbox "user1" | Get-MailboxStatistics -archive | fl displayName,Database,itemcount,totalitemsize,LastLogonTime,lastlogofftime,storagelimitstatus
DisplayName : Online Archive - User1
Database : MBX-OnlineArchive1
ItemCount : 5216
TotalItemSize : 789.3 MB (827,625,361 bytes)
LastLogonTime : 12/31/2013 1:19:00 PM
LastLogoffTime : 12/31/2013 1:20:47 PM
StorageLimitStatus : BelowLimit
================================================================
MDHello,
Come back and mark the replies as answers if they help and unmark them if they provide no help.
I'm marking the reply as answer as there has been no update for a couple of days.
If you come back to find it doesn't work for you, please reply to us and unmark the answer.
Cara Chen
TechNet Community Support
Maybe you are looking for
-
Our system is set up to send a lot of XML messages to a JMS topic on WL8.1. I have an MDB listening to the topic and a couple of stateless session beans that get invoked by the MDB. The rate is something on the order of 10/sec(moderately sized xml me
-
How to modify the iView of discusstion ?
I want to modify the iView of Discusstion provided by EP6.0 . How to do it?
-
Custom Web Service For BAPI_INQUIRY_CREATEFROMDATA2
Hello all, I want to create a web service for the bapi manually (without using wizard) Can anyone of you please mention me the required steps in good amount of details?
-
I want to sign in to iTunes on my husband's computer, but I do not want to sign into HIS iTunes account. Once someone has logged into an account on iTunes, is that account locked into that computer? Also, I am trying to do some setup for my mother-
-
How to remove Copper "Graphics" from copper
Hi! How do I cut out the copper Plane? When I use the normal Polygon function, there is alway a small copper string all around the polygon and the parts. Using the Keep-In/Keep-out tool, I get errors when I place it over parts/vias/nets.... What is t