Can I do automatic page refresh? How many of them can the web server take?
I'd like to ask this question in both short and (if you be so kind) in long form:
Short: Can a portion of my APEX page be set to refresh automatically ones every few minute? Not the whole page, just a portion. Would I have to use frames for that? Can they be invisible?
Long: I'd like to create a web interface, which would allow multiple users to track duration of some tasks. More importantly it has to allow other users to see each other's progress (which task somebody is on, how long he has been on it down to several minutes). I understand to server side of it. However, the client side presents a problem of information refresh. I want users to be able to sit without touching their mouses or keyboard and see changes for other users as they happen.
What do I mean by "as they happen?" Ideally, I'd like to present changes in real time. My brief research of Push HTTP technology, pointed toward Comet or Flash. However, I don't know much about web development and as of now, cannot commit too much time to learning new technologies.
The second best option, is to update information every couple of minutes. Two question arise here. First is the "short" question - please see above.
Let's say the page sections can be refreshed automatically. Then I have a question about the load. If I potentially get thousands of simultaneous users, each sending a refresh request every 2-3 minutes, how bad would be the load on the web server and on the network throughput. The amount of data passed can be small, but I am very concerned about the load on web server and the traffic. (I am planning to do virtual hosting with a web hosting company). Somehow I am not concerned about the load on the database (maybe I should be). All calculations will be put in a stored procedure, at least I can optimize it.
Any other suggestions on how to approach this client refresh issue?
Thanks a lot.
These answers are helpful but I still need more info. The first answer suggests putting html refresh tag. But that would refresh the whole page, wouldn't it? I just need to refresh one region. Can it be done with html tag?
I reviewed the Javascript code in the example referenced in the second answer. It showed that I can refresh a region using Javascript. It looks very nice. However, I need to refresh with data pulled from the database. I am not familiar with AJAX (need to lear JavaScript first) and I know that JavaScript cannot query database on its own. So I am not sure that this example is relevant.
What I need is: Only 1 region of the page needs to be refreshed every 5 minutes. The rest should "stay put." Everytime the refresh is performed the database will be queried for new data by means of stored db procedure. Do I need to jump through hoops to do that or is it fairly straightforward thing to do?
Thank you for your time.
Similar Messages
-
Step by Step of how to Install and configure the Web Server Core 2008 R2
I encoutred a couple of problems installing a Web Server Core 2008 R2 edition including the remote connection and for people who are encountring the error :
"The WinRM client cannot complete the operation within the time specified" or the error : " Could not connect to the specified
computer. Details: Unable to connect to the remote server " I think those couple of video will be helpfull,
so I decided to record and share this experience with you by producing the server core from A to Z to avoid the headache that I encountred
during my experience. The lab environment is vmware but you can use hyper v or even physical lab if you want as the steps are the
same
http://www.youtube.com/playlist?list=PLzayUN5B2cXMoyziV4oUs94P6EZT6QVmc
watch?v=5z1NiWUJdGU Wipe generation
watch?v=Q3BoLkWWAC4 hard disk preparation
watch?v=lOPvy-cn0Uk server core installation
watch?v=gTnOUJfRkDg configure the web server
watch?v=0ofvknXMNsc install .net framework in the webserver
watch?v=K4ADBzZeM6E install the web server role
watch?v=oGHC0sbe17Y remote control the server
watch?v=SpzAsRkjV40 continue the remote configuration
watch?v=XjPD8U_y29I Create and alias for the web server
watch?v=Pim1T6z6DJM Configure a Win 7 machine to control
Enjoy the vids
The complexity resides in the simplicity Follow me at: http://smartssolutions.blogspot.comHi MASNSN,
Thanks for your sharing =) -
How we Can find out How many Users Logon into the Portal those users Names.
Hi Friends
I have one doubt in Portal,
How we can find how many Users Logon into the Portal and how we can find that users Names in Portal.
Regards
Vijay KalluriHello Vijay,
If you are at all interested in a 3rd party application to make your life a bit easier getting stats on your users, you could check out Click Stream by Sweetlets.
Click Stream uses the Usermanagement (UME) API to get more information about the user, groups, roles, LDAP attributes etc. and offers you the ability to filter this information in nearly any report at the click of a button.
Click Stream also uses the PCD API to get information about the pages your users are visiting too.
In the very near future Click Stream will also have iView recording to monitor iViews, telling which iViews have been clicked, etc.
Here are some reviews on the SAP EcoHub from people who have used it: http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream
Please just let me know if you have any question or if you are open to test drive Click Stream. We will certainly help as best as we can.
Good luck. -
For some reason, I cannot change my desktop background no matter how many times I delete the "active" folder. It's as if it's locked. Any ideas how I can fix it?
Yes it sounds like you have a corrupted preference file.
The setting you make in individual programs get saved to a Preference file in your Users/Library/Preferences folder.
All you have to do is drag out the old file to the desktop, reboot and load the program and the preference file gets rebuilt without your preferences which you reset.
For your case I beleive the preference file is
com.apple.desktop.plist -
Can I find out how many clients are connected to a server process?
Hi, I am hoping I can find out how many clients are connected to a server process. This could be either a programmatic lookout number, a number in a log file etc.
By the way, does lookout have any application (not data) logs? I have noticed that occasionally lookout will crash and I cannot find any logs to determine why, what processes were running, who last accessed it etc.
ThanksHello,
There's currently no way to acquire this data. I think that'd be a great suggestion for the product. Please submit your feedback to our developers at the following link: http://digital.ni.com/applications/psc.nsf/default?OpenForm&temp1=&node=
Best regards,
Yusuf C
Application Engineer
National Instruments -
Opening files doesn't work no matter how many times I press the button.
Application Basics
Name: Firefox
Version: 31.0
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Crash Reports for the Last 3 Days
All Crash Reports
Extensions
Name: Adblock Plus
Version: 2.6.4
Enabled: true
ID: {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
Name: Battlefield Play4Free
Version: 1.0.96.0
Enabled: true
ID: [email protected]
Name: Bitdefender Wallet
Version: 2.0
Enabled: true
ID: [email protected]
Name: Copy As Plain Text
Version: 1.0.9
Enabled: true
ID: {1a5dabbd-0e74-41da-b532-a364bb552cab}
Name: DownThemAll!
Version: 2.0.17
Enabled: true
ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8}
Name: Extended Statusbar
Version: 1.5.10
Enabled: true
ID: {daf44bf7-a45e-4450-979c-91cf07434c3d}
Name: FastestFox
Version: 5.2.1
Enabled: true
ID: [email protected]
Name: Freemake Video Downloader Plugin
Version: 1.0.0
Enabled: true
ID: [email protected]
Name: Freemake Youtube Download Button
Version: 1.0.0
Enabled: true
ID: [email protected]
Name: Greasemonkey
Version: 2.1
Enabled: true
ID: {e4a8a97b-f2ed-450b-b12d-ee082ba24781}
Name: InstantFox
Version: 2.8.9
Enabled: true
ID: searchy@searchy
Name: Multifox
Version: 2.2.0
Enabled: true
ID: multifox@hultmann
Name: Online Convert
Version: 1.4
Enabled: true
ID: [email protected]
Name: ProxMate - Proxy on steroids!
Version: 2.3.3
Enabled: true
ID: jid1-QpHD8URtZWJC2A@jetpack
Name: Show my Password
Version: 2.0
Enabled: true
ID: {cd617372-6743-4ee4-bac4-fbf60f35719e}
Name: Skype Click to Call
Version: 7.3.16540.9015
Enabled: true
ID: {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
Name: Strict Pop-up Blocker
Version: 0.2
Enabled: true
ID: jid1-P34HaABBBpOerQ@jetpack
Name: Tab Badge
Version: 1.15
Enabled: true
ID: [email protected]
Name: Text to Voice
Version: 1.10
Enabled: true
ID: [email protected]
Name: Tile Tabs
Version: 11.9
Enabled: true
ID: tiletabs@DW-dev
Name: URL Fixer
Version: 4.1
Enabled: true
ID: {0fa2149e-bb2c-4ac2-a8d3-479599819475}
Name: Video Resumer
Version: 1.1.3
Enabled: true
ID: videoresumer@jetpack
Name: Yamli for Firefox
Version: 1.1.0
Enabled: true
ID: [email protected]
Name: Webexp Enhanced
Version: 1.1
Enabled: false
ID: [email protected]
Graphics
Adapter Description: Intel(R) HD Graphics 4600
Adapter Description (GPU #2): NVIDIA GeForce GTX 760M
Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
Adapter Drivers (GPU #2): nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
Adapter RAM: Unknown
Adapter RAM (GPU #2): 2048
Device ID: 0x0416
Device ID (GPU #2): 0x11e3
Direct2D Enabled: true
DirectWrite Enabled: true (6.3.9600.17111)
Driver Date: 1-22-2014
Driver Date (GPU #2): 9-1-2013
Driver Version: 10.18.10.3412
Driver Version (GPU #2): 9.18.13.2702
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 10
Vendor ID: 0x8086
Vendor ID (GPU #2): 0x10de
WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 4600 Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
Important Modified Preferences
accessibility.newtabplus.homepage: chrome://branding/locale/browserconfig.properties
accessibility.newtabplus.page: 1
accessibility.newtabplus.ver: 4.5.2
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 1
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20140716183446
browser.startup.homepage_override.buildID: 20140716183446
browser.startup.homepage_override.mstone: 31.0
browser.tabs.warnOnClose: false
dom.mozApps.used: true
dom.popup_allowed_events:
extensions.lastAppVersion: 31.0
font.internaluseonly.changed: true
gfx.direct3d.last_used_feature_level_idx: 0
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1406922206
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.npuplaypc: 0
print.printer_Microsoft_XPS_Document_Writer.print_bgcolor: false
print.printer_Microsoft_XPS_Document_Writer.print_bgimages: false
print.printer_Microsoft_XPS_Document_Writer.print_colorspace:
print.printer_Microsoft_XPS_Document_Writer.print_command:
print.printer_Microsoft_XPS_Document_Writer.print_downloadfonts: false
print.printer_Microsoft_XPS_Document_Writer.print_duplex: -854238192
print.printer_Microsoft_XPS_Document_Writer.print_edge_bottom: 0
print.printer_Microsoft_XPS_Document_Writer.print_edge_left: 0
print.printer_Microsoft_XPS_Document_Writer.print_edge_right: 0
print.printer_Microsoft_XPS_Document_Writer.print_edge_top: 0
print.printer_Microsoft_XPS_Document_Writer.print_evenpages: true
print.printer_Microsoft_XPS_Document_Writer.print_footercenter:
print.printer_Microsoft_XPS_Document_Writer.print_footerleft: &PT
print.printer_Microsoft_XPS_Document_Writer.print_footerright: &D
print.printer_Microsoft_XPS_Document_Writer.print_headercenter:
print.printer_Microsoft_XPS_Document_Writer.print_headerleft: &T
print.printer_Microsoft_XPS_Document_Writer.print_headerright: &U
print.printer_Microsoft_XPS_Document_Writer.print_in_color: true
print.printer_Microsoft_XPS_Document_Writer.print_margin_bottom: 0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_left: 0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_right: 0.5
print.printer_Microsoft_XPS_Document_Writer.print_margin_top: 0.5
print.printer_Microsoft_XPS_Document_Writer.print_oddpages: true
print.printer_Microsoft_XPS_Document_Writer.print_orientation: 0
print.printer_Microsoft_XPS_Document_Writer.print_page_delay: 50
print.printer_Microsoft_XPS_Document_Writer.print_paper_data: 1
print.printer_Microsoft_XPS_Document_Writer.print_paper_height: 11.00
print.printer_Microsoft_XPS_Document_Writer.print_paper_name:
print.printer_Microsoft_XPS_Document_Writer.print_paper_size_type: 0
print.printer_Microsoft_XPS_Document_Writer.print_paper_size_unit: 0
print.printer_Microsoft_XPS_Document_Writer.print_paper_width: 8.50
print.printer_Microsoft_XPS_Document_Writer.print_plex_name:
print.printer_Microsoft_XPS_Document_Writer.print_resolution: 0
print.printer_Microsoft_XPS_Document_Writer.print_resolution_name:
print.printer_Microsoft_XPS_Document_Writer.print_reversed: false
print.printer_Microsoft_XPS_Document_Writer.print_scaling: 1.00
print.printer_Microsoft_XPS_Document_Writer.print_shrink_to_fit: true
print.printer_Microsoft_XPS_Document_Writer.print_to_file: false
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_bottom: 0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_left: 0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_right: 0
print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_top: 0
privacy.sanitize.migrateFx3Prefs: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1406135669
JavaScript
Incremental GC: true
Accessibility
Activated: false
Prevent Accessibility: 0
Library Versions
NSPR
Expected minimum version: 4.10.6
Version in use: 4.10.6
NSS
Expected minimum version: 3.16.2 Basic ECC
Version in use: 3.16.2 Basic ECC
NSSSMIME
Expected minimum version: 3.16.2 Basic ECC
Version in use: 3.16.2 Basic ECC
NSSSSL
Expected minimum version: 3.16.2 Basic ECC
Version in use: 3.16.2 Basic ECC
NSSUTIL
Expected minimum version: 3.16.2
Version in use: 3.16.2
Experimental Features
Hi. Whenever I want to upload a picture or a file, no matter how many times I press the "Upload" or "Browse" button, nothing happens. I can keep spam clicking on it and it wouldn't do anything. This is not specific to a site, but happens everywhere. Dragging and dropping files works on Facebook and Imgur, but not all websites support this. I'm using Firefox 31.0 on Windows 8.1. Yes, I have tried restarting Firefox and computer, this has been happening for a while now. Thanks.Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test.
*http://www.bleepingcomputer.com/tutorials/how-to-start-windows-in-safe-mode/
This probably still applies to Windows 8:
Try to delete the MRU (Most Recently Used) ComDlg32 registry keys with the registry editor (regedit.exe).
Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32
Delete the subkeys (LastVisitedPidlMRU and OpenSavePidlMRU)
Be cautious with editing the registry as there is no Undo possible: all changes are applied immediately.
You can export registry keys before making changes.
* http://www.winhelponline.com/articles/195/1/How-to-clear-the-file-names-MRU-in-Common-Dialog-boxes-in-Windows-Vista.html -
How to filter results from 4 dynamic list menus depandant on how many of them are selected
I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?
Hey there,
Thanks for replying,
I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
Any suggestions?
SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR ( location=varloc AND type=vartype AND beds=varbed) OR (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
ORDER BY detailstable.trueprice ASC
Look forward to receiving your thoughts,
Linda
Date: Wed, 21 Oct 2009 14:36:33 -0600
From: [email protected]
To: [email protected]
Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
Hiya,
I'm just doing my first dynamic site too, and am at a similar level to yourself.
Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
Let me know how you're going on anyway
Cheers
Andy
> -
On a Mac Mini server with OS X Lion 10.7.2, I am unalbe to get the web server working on port 80. It switches automatically to port 443 (https).
This situation complicates the access to FileMaker Web publishing, as I don't want my clients having to use https.
How can I change that? Does anyone know?
Thanks for any replyin the server: I checked the SSL certificate. Tried several configuration.
Well, that's a problem for a start.
Your port 80 connection should NOT use SSL. Port 80 is the standard HTTP port, not HTTPS and most applications that connect to port 80 will not expect to use SSL
If you want to run a site under both HTTP and HTTPS then you create two sites, one on port 80 without SSL and one on port 443 with SSL -
How many external displays dose the Retina MBP suport?
How many external displays dose the Retina MBP support? I have herd conflicting information about this, an apple store employee told me that it could support 2 thunderbolt displays while simultaneously running a HDMI connected display (witch would be awesome if true) but I am extremely skeptical, that seems like to much for one GPU.
Graphics and Video support:
Intel HD Graphics 4000
NVIDIA GeForce GT 650M with 1GB of GDDR5 memory and automatic graphics switching
Dual display and video mirroring: Simultaneously supports full native resolution on the built-in display and up to 2560 by 1600 pixels on up to two external displays, at millions of colors
Thunderbolt digital video output
Native Mini DisplayPort output
DVI output using Mini DisplayPort to DVI Adapter (sold separately)
VGA output using Mini DisplayPort to VGA Adapter (sold separately)
Dual-link DVI output using Mini DisplayPort to Dual-Link DVI Adapter (sold separately) -
How many optional allowed in the query?
Hi,
Data base is getting disconnected while running the below sparql query (Query with 9 optional conditions).
I tested the query with 5 optional its working fine but, its not working for more than 5 optional.
How many optional allowed in the query?
Please advice me to solve this problem.
Error Detail: ORA-03113: end-of-file on communication channel
SELECT bi, OWNER,name,usage,notes,icto,app,ssd,ssdname,ssdid,sdname,sdarchitect,schedule
FROM TABLE (sem_match('{
?bi rdf:type di:Bulk_Interface .
?bi di:hasBulkInterfaceItOwner ?OWNER .
?bi di:hasBulkInterfaceName ?name .
?bi di:hasBulkInterfaceRecipientApplicationArea ?usage .
?bi di:hasBulkInterfaceRecipientFeederType ?notes .
?bi di:hasBulkInterfaceSupplierApplicationId ?icto .
?app ds:hasConceptualSourceApplicationIctoId ?icto .
?ssd ds:hasConceptualSourceApplication ?app .
?ssd ds:hasConceptualSourceSubdomainName ?ssdname .
?ssd ds:hasConceptualSourceSubdomainIctoId ?ssdid .
?sd ds:hasConceptualSourceSubdomain ?ssd .
?sd ds:hasConceptualSourceDomainName ?sdname .
?sd ds:hasConceptualSourceDomainArchitect ?sdarchitect .
?bi di:hasBulkInterfaceDeliverySchedule ?schedule
optional {?bi di:hasBulkInterfaceRecSet1AverageStorageRequirements ?avgsize}
optional {?bi di:hasBulkInterfaceWorstStorageRequirements ?maxsize}
optional {?bi di:hasBulkInterfaceRecSet1AverageNumberOfRecords ?avgrec}
optional {?bi di:hasBulkInterfaceAverageNumberOfRecords ?avgrec}
optional {?bi di:hasBulkInterfaceRecSet1WorstNumberOfRecords ?maxrec}
optional {?bi di:hasBulkInterfaceWorstNumberOfRecords ?maxrec}
optional {?bi di:hasBulkInterfaceTransferMethodJob ?job}
optional {?bi di:hasBulkInterfaceDataFileAvailability ?post}
optional {?bi di:hasBulkInterfaceBusinessDescription ?descr}
sem_models ('IFM_CURR', 'SRC_CURR'),
SEM_Rulebases('OWLPRIME'),
sem_aliases(SEM_ALIAS('di','http://www.cse.com/sbip/dwh/mdm/data_interface#'),
SEM_ALIAS('ds','http://www.cse.com/sbip/dwh/mdm/data_sources#'))
, NULL));
Let me know if you need any other details.
Regards,
Kavitha.
Edited by: 789259 on Aug 3, 2011 2:01 AMIf possible, I would suggest that you upgrade to the latest release: 11.2.0.2.0. It has many bugfixes and enhancements.
There is no limit on the number of optionals per query. I suspect that the use of the same new variables (?avgrec and ?maxrec) in the parallel optional clauses is the reason you are seeing the error in this particular case. If you use different variable names does the error go away? If needed, you can use a coalesce in the outer SQL SELECT to get the same behavior as before (e.g. COALESCE(avgrec1, avgrec2) as avgrec).
Thanks,
Matt -
How to Run scenario from the web using HTTP web page?
Hi guys
Please let me know How to Run scenario from the web using HTTP web page?
Regards
JanakiramHi Janakiram,
ODI provides web based UI for running the scenarios using Metadata Navigator (read only of ur ODI components) and Lighweight designer (u can edit the mapping here).
Please explore how to install metadata navigator in ODI and have a look at ODI Setup document for more information.
Thanks,
Guru -
Determin how many user log on the site using JSP/Servlet?
Hi all,
Is there a way to determine how many user log on the site using JSP/Sevlet? I'm running Apache 2.x & Tomcat 4.x
I'm trying to get a list of user currently log in the site.
Please help!
Thanks,
-JN-You could use the HttpSessionBindingListener interface. Every time a user logs into the session put a user object into the session. The user object will implement the HttpSessionBindingListener interface. When the user object is added to a sessiion it recieves an event and it increments a counter. When the session times out or you invalidate the session because the user has logged out the user object will recieve an event and it can then decrement the counter.
This will at least tell how many active user sessions there are. -
How many ways to edit the data in PSA?
HI
How many ways to edit the data in PSA? Can we edit both transaction, master data also?Hi.......
Yes yo can edit data in PSA for both Master data and transaction data.......the only diffrence is that in transaction data you have to delete the request from the target before editing......and in master data no need to delete any request....directly edit the PSA........
To edit PSA......the most easiest method has alsredy mentioned ............
But suppose you don't have authorization to edit the data in PSA but still you want to edit then you can follow the process mentioned below..........
You can call up the function module RSAR_ODS_API_GET with the list of request IDs given by the function module RSSM_API_REQUEST_GET. The function module RSAR_ODS_API_GET no longer recognizes InfoSources on the interface, rather it recognizes the request IDs instead. With the parameter I_T_SELECTIONS, you can restrict reading data records in the PSA table with reference to the fields of the transfer structure. In your program, the selections are filled and transferred to the parameter I_T_SELECTIONS.
The import parameter causes the function module to output the data records in the parameter E_T_DATA. Data output is unstructured, since the function module RSAR_ODS_API_GET works generically, and therefore does not recognize the specific structure of the PSA. You can find information on the field in the PSA table using the parameter E_T_RSFIELDTXT.
RSAR_ODS_API_PUT
After merging or checking and subsequently changing the data, you can write the altered data records into the PSA table with the function module RSAR_ODS_API_PUT. To be able to write request data into the table with the help of this function module, you have to enter the corresponding request ID. The parameter E_T_DATA contains the changed data records.
check these links:
http://help.sap.com/saphelp_nw04/helpdata/en/4f/8d4b38187a8442e10000009b38f8cf/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
Hope this helps.......
Regards,
Debjani...... -
How can you display a dynamically loaded vi to the Web Server?
I am working with LabView 6.1 and the Web Server. I can call a subvi and have it display on a remote machine using a browser with no problem. But what I would like to do is dynamically load and run a vi and have it display on the remote computer using only a browser. I have tried a small example of a front panel that invokes the run vi method (and fp.open prop) on another vi when a button is pressed, but the invoked vi is displayed only on the local computer. Is there any way of viewing dynamically loaded vi's on a remote machine without having a copy of LabView running on it?
If i understand your question correctly, you want to monitor vi that are dynamically loaded on a remote machine without having LabVIEW installed on the machine from witch you want the monitor. I don't think it's possible how ever a good reference book would be Internet applications in LabVIEW. You can find it on BARNES&NOBLE.
Hope i could help -
Can you open word doc. In pages? (Opening a doc. From the web) in the iPad or iPod tuch?
NH,
This may seem a fine point, but iWork apps don't actually Open Office apps. They Import them. The reason I make this distinction for you is that when you view the result of the import, you may see some variations from what was in the Office document because of an imperfect translation, and when you make edits, you are editing an iWork document, not the original Office document.
Jerry
Maybe you are looking for
-
Creating BI Publisher report with raw data XML
Hi Guys, Can anyone please point me to a link or tutorial where we can do reporting using raw data XML as a datasource and defining the Parameters for filters. Thanks, Aash
-
Generate jsp from database table
Does anyone know of a utility that will take a database table as input and generate a generic maintenance app (jsp) that will allow add/change/delete functionality to the table? I tried a utility called JSPMaker, however the code generated is horrid
-
Hello, I have a question on how to improve my home network. I have Comcast digital cable TV and High speed internet that is very spotty in the coverage in our split-level home. Currently my home network setup has the cable modem located near the mai
-
Localized text for hour, minute, second, week, today, etc.
You are able to get localized text for the weekday name, e.g. to get your localized name of "monday", use SimpleDateFormat sdf = new SimpleDateFormat("EEEE"); String name = sdf.format(gregorianCalendar.getTime())for month names, you would use the for
-
Control break-statement: SUM
Hi All, I am woking with Control break-statmens, SUM. LOOP AT IT_SELECT. AT NEW PSPNR. SUM. WRITE:/ IT_SELECT-WERKS, IT_SELECT-PSPHI, IT_SELECT-PSPNR, IT_SELECT-VERNA, IT_SELECT-KZWI2, IT_SELECT-DMBTR. ENDAT. E