Session is still active?

how can i understand if my user session is still active?
thankss

You can detect if a session is new using the session.isNew() method.
Also you can compare the requested session id (request.getRequestedSessionId()) with the actual session id. If they are the same then the session was still active. If not, then the session expired.

Similar Messages

  • Delete memory Id when the session is still active

    Hi all,
    Can anyone tell me how to clear the Memory Id when the session is still active.
    I am getting the amount value through Memory Id from import and export parameter when I am posting the check. Again if I reprint the check without closing the session the amount value is getting double evertimes.
    If I delete from Memory Id I am not able to see any amount value while posting for first time.
    Can anyone suggest me how to proceed further.
    Regards
    Yathish

    Looks like you are not clearing the variables before and after that logic. Clear them and try.
    Let us if you are doing that or not.
    Rgds,
    Naren
    Message was edited by:
            Someneni

  • Leaving excel Inplace, the excel session is still active

    I all,
    I use the Excel Inplace method to format data in PivotTables. I use a template based on sap_MM.xls with the procedure Public Sub ALV_CUS_Exit (). It is working correctly.
    My problem happens when I leave the transaction and return to the initial screen. The excel session is still active causing blockages in the Excel application itself
    I looked at the OSS note 122539: it describes functions which do not yet exist in the SAP delivery for certain events. I have tried those functions with the SAP declaration like :
    public sub customer_workbook_deactivate()
        Me.Application.Quit
    End Sub
    Either I use the wrong syntax or I do not set the code in the correct place of the VBA project, I have never activated these functions while leaving the screen excel inplace.
    Can you guide me to a solution ?
    In advance thank you very much.

    Thanks, but my first problem is that I do not pass through the procedure. Once I pass through it I'll try  "me.quit()".
    Regards.

  • Sessions were still active eventhough Dead lock detected

    Hi all,
    Yesterday I saw very odd oracle behaviour.When oracle finds Dead lock it should kill those sessions automatically.In my case those two sessions were still trying to run the same update command and were casuing dead locks again and again for 1 Hour.I had to kill those sessions manually to avoid these dea lock.
    How can those sessions were still trying eventhough dead lock detected and causing deadlocks.My logfile filled with this dead lock error.When I killed those sesions it end up with snap shot too old error.
    Please suggest me
    Thanks

    hi
    just ROLLBACK or COMMIT any one session. you will out of dead lock.
    and one more thing is in dead lock situation the sessions were not terminated
    and session wating for releasing locks aquire by another session
    try this one if not work plz reply
    have a nice time
    best luck

  • SQL_Monitor for query shows DONE(ERROR) red X but Session still active

    Hi. I'm just a developer so I was wondering if someone might be able to answer my question relating to the subject.
    Basically I have a query that has been running for quite a while (12H) now. Thats not a problem. However, I'm confused about one thing. When I click on the SQL_Monitor tab for that query within my still Active Session it shows the SQL as having errored out. Nothing for my particular user shows up in V$SESSION_longops either. Its Oracle 11G with EM of same type. I believe that my session is still active as it still seems to be consuming resources. I don't need help optimizing my query, I've already managed to do that. I'd actually just like an answer to the following questions.
    How can I tell if a query has really died?
    Is it possible that a session will remain active while a query errors out and how could I detect this in my application?
    is it possible for a query to be running that does not appear in V$SESSION_LONGOPS (or sql_monitoring in EM which I'm assuming are nearly the same thing)?
    Is my only recourse to #2 if possible, to kill the session and start my query again?
    Anyways, thanks a lot in advance. (No need to optimize this query as I've got the one that prompted this question down to about 3H and it ran fine.

    Tom:
    Were you able to resolve this problem? I too have a similar problem where I imported the image, went into the shared components of the app, definition, and under logo selected a logo type of 'image', and the logo attributes of #workspace_images#cmclogo.gif
    This gets me a box with a red x in it, but no image and no clue what's wrong.
    Any help is appreciated!

  • CDE Community still active?

    I am wondering if CDE is still being developed for Solaris or have they moved completly to GNOME with the new Java Desktop System Release 3. I've found that using CDE is great for low spec systems and also using it over XDMCP because of the much small footprint. Just wondering if its still being developed.

    You can detect if a session is new using the session.isNew() method.
    Also you can compare the requested session id (request.getRequestedSessionId()) with the actual session id. If they are the same then the session was still active. If not, then the session expired.

  • Session Still Active

    Hello All,
    A program is calling SM35 using call transaction method in Error mode and the batch input session is filtered based on the session name.
    But when i try to process the session in foreground, an error message "Session still active" is stopping from further process. But I am able to process this session in background.
    Please help me in solving this issue.
    Regards,
    Phani.

    Hi!
    If a session contains numerous entries, it could take a lot of time until it is finished.
    We can say processing 1 batch input entry takes 1 second. If there are 100000 entries, then it will take 100000 seconds to process.
    Because it is already running, you can't continue it online, running it again in background will do nothing, however it will not give an error message.. But you can check how many processed entries there are using the BI log.
    You can delete unwanted and corrupted BI sessions, using program RSBDCDEL.
    Regards
    Tamá

  • Season Pass - Still active after the season is completed

    Some time ago I purchased a pass for the first season of Breaking Bad.
    After seven episodes the season was officially over.
    However, the season pass remains active (it still is).
    When I want to switch to a different iTunes store (different counry), iTunes tells me that it is not possible as long as I have active season passes.
    Is a season pass supposed to expire/end automatically after the respective season is complete?
    If it is supposed to be this way, how can I close/end my still active season pass.
    Thank in advance for the help

    Hi Girish,
    My bad, forgot to put all the required info in the post. Sorry about that.
    Database 10.2.0.2.0 - enterprise, Linux OS. I have enough SGA (64gb), PGA, undo, temp tablespace space.
    The select is a "normal" read only select that needs to read millions of blocks from data files. The main table is partitioned and the waits are on reading data from partitions. In v$session the main session and the child processes are marked as killed.
    In v$lock I see that the wait is on db read scan. Everything is working. That's actually my issue.
    Why it's still querying data/reading from disk when I killed all the sessions.
    Doesn't Oracle stop the processes associated with a killed session?
    I killed the session: alter system kill session 'sid,serial';
    Do you think "alter system disconnect session 'sid,serial' immediate" is better?
    What I don't understand is how can I stop fast (ok I get that it can not happen in a few seconds) a query that is only read only that is running for too long. When I kill a session I was expecting the processes associated with it to stop. In a update/insert/delete, the server will wait for the rollback, but this is not changing data.
    If you think more debug is necessary I will upload on Monday AWR and all the statistics I collected. I am not in the office now.
    Thanks,
    Daniel

  • FTP Displays as Disabled via Server Admin, but FTP still active via tnftpd

    Server Admin (v 10.5.3) displays that the FTP service on our box is inactive.
    However, FTP access to the server is still active. When I FTP via command line, I'm informed that tnftpd has allowed me to connect via FTP.
    I'd like to have OS X's built in FTP services disabled so that I can use SFTP only via CrushFTP.
    I can't figure out how to disable/block tnftpd. Any suggestions?
    I tried adding a "nologin" file to /etc, but this ended up causing every shell session to error out with a "access not allowed" error.

    The process was still loaded in launchd, so we just unloaded and that appears to have killed it for good.
    Weird, but that would explain it. I'm just not sure if there's a launchdaemon that would need to be removed to keep it from starting up after a reboot.
    -Doug

  • HT1688 I recently upgrade my Iphone but the old one is still active. I installed the friendjectory app on my new phone but it will not open but for a few seconds ab=nd then closes. What is wrong and what do I need to do to make this app work on my new pho

    I recently upgraded my Iphone. Iinstalled the friendjectory app on the new phone but it will not open but for  few seconds and then closed. What is wrong and what do I need to do? My old phone is still active and working. Do I need to do something about that?

    Hi stanczak53,
    Welcome to Apple Support Communities.
    See this link for some tips on troubleshooting apps on your iPhone:
    Using apps on your iPhone
    http://www.apple.com/support/iphone/assistant/application/
    Best,
    Jeremy

  • MO operations deleted but PR is still active

    Hi,
    In one of our issue, the user has deleted the external service operation in MO, but when we looked into PR, it seems to be still active.By rite, the PR has to be cancelled once the operation is deleted.Can anyone tell me is there any logical checks has to be done....

    Hi
    Is it PO in place of MO/ what is that MO? Did you refr pR for creating PO, if po is deletd then your PR quanity is not consumend so PR will be active or open, check the stat tab of PR in disply mode you will find the details of the PR/PO conversion/GR/inv , the actual stge of the document.
    Best Regards

  • How can I stop someone from receiving iMessages on their old disconnected iPhone, w'hich is still active in iMessage, when the number now belongs to someone else with a non apple device!?!

    To further clarify my dilemma ....
    A friend of mine just got a new phone number on her LG cell phone.
    When I try to text her, my messages are going to someone else's iPhone.
    The iPhone has been deactivated off the VZ cell network, but they are still using it on WIFI.
    They used to have this number on their iPhone, and it's still active in iMessage.
    So, when I try to send a text message to my friend on her LG, from my iPhone,
    they instead go to this total stranger, cuz they still have that number active in their iMessage account.
    This is a serious issue!!
    The only suggestion I get from apple support is to have my friend get a new number, or for me to turn off iMessage when I want to text her.
    Not really the optimum solution.
    Something really should be done to prevent this from happening!
    Strangers are effectively intercepting text messages!
    Help!?!

    Tell her to contact her carrier and get a new phone number.

  • HT1349 Apparently you can have 5 computers registered for iTunes.  I have 3 active computers but I guess I have other computers that are still activated that I no longer use.  Is there a way to delete or see what the others are?  Please help!

    Apparently you can have 5 computers registered for iTunes.  I have 3 active computers but I guess I have other computers that are still activated that I no longer use and I no longer have as they crashed.  Is there a way to delete or see what the other computers are so that I can go in and delete them?  I've tried to email Apple directly but apparently I need my hardware # and obviously I do not have that # since I don't have the equipment any longer.  Any help is greatly appreicated.  I am trying to add another computer and it won't allow me to as they say I'm at my limit.  Please help!

    Sure.
    Just open up iTunes on your computer -> Go to the iTunes Store -> Click your e- maill address (top right corner of the window) -> Type in your password for your Apple ID -> Under Computer Authorisations (underneath your Apple ID account balance and address) -> Press 'Deauthorise All'
    -> This will deauthorise all computers and devices from your iTunes account -> you then need to re- authorise any computers/ devices you would like to use with your Apple ID for iTunes content -> to do this, select the Store tab along the menu at the top (where 'File', 'Edit', 'View' etc..... are) -> Then click 'Authorise this Computer' -> Type in your Apple ID -> Voila!
    For any iOS devices (non- computers) you wish to re- authorise, these will automatically do so when you go to play iTunes content, download an app or anything like that on those devices!
    Hope this helps!

  • My iMessage stopped working when I did the latest update on my phone. I have literally tried everything to reset it. I am currently not in the US, but my iMessage has always worked when I was in wifi and my phone is still activated.

    My iMessage stopped working when I did the latest update on my phone. I have literally tried everything to reset it. I am currently not in the US, but my iMessage has always worked when I was in wifi and my phone is still activated. I have tried to reset my network settings, my location, and even the reset all settings. When I click on my settings and iMessage it says that it is still waiting for activation... and my phone number is grayed out. I am able to recieve an iMessage to my email and that could work for right now but i'm not sure how to start a conversation the defaults to being sent from my email and not my cell phone number. please help!

    Hi shanny202.
    Really strange problem you have there. I have a few questions though.
    Please try again and try to make the phone as a new without restoringen with you iCloud-data or backup-data from iTunes. Maybe it is something wrong with the data (strange).
    Anyway, i think you should call Apple Support or visit an Apple Store, don't forgot to make a Genius Bar reservation.
    You locate the nearest Apple Store here: http://www.apple.com/retail/storelist/
    And here is Apples phone numbers around the world for support: http://support.apple.com/kb/HE57

  • Iphone is dead, gone  to insurance co. for replacement. They say because "Find My iPhone" is still active, they can't replace or try to fix it. problem is can't log in to de-activate it, cos email account does not exist anymore. How can I de-activate it?

    iphone is dead, gone  to insurance co. for replacement. They say because "Find My iPhone" is still active, they can't replace or try to fix it. problem is can't log in to de-activate it, cos email account does not exist anymore. How can I de-activate it?

    You never used your iPhone?
    You never logged into iTunes?
    Your AppleID & Password for iCloud&  iPhone should be the same AppleID &Password you used to log in here and post a message.
    -> Find your Apple ID

Maybe you are looking for

  • Page with PartialTriggers is not working when it loads for the first time

    Hi All, I am experiencing unexpected behavior when using partial triggers and this recurres every time the page loads and the second time it works fine. Here is the requirement, The page has a check box, when checked, two text boxes should be disable

  • How to create first database

    Hi there, This is my first post on this forum. I am totaly new to Oracle as I am working on one project which require Oracle as db. I have installed Oracle Database 10g Express Edition. I can login by system user or as hr. Now when I am trying to cre

  • Got solution :)  Erorr in Latest Desktop Version ?

    I have MS 2007 installed in my system, I have downloaded the latest BIP 10.133 desktop version and installed too. I got the macro plugged in my word, under the add-ins. if i load a sample xml, and on clicking the chart or the crosstab or repeating gr

  • Lightroom, Color Temperature, Kelvin

    Is there any way to have Lightroom how the color temperature in Kelvin instead of what it is using? Or does someone has a chart that equates the LR numbers to the degrees Kelvin? I wish Adobe would stick with standards with such things. It is bad eno

  • Creating Linked Resources

    Hi All,   we have a J2EE project set up in SAP Netweaver Developer Studio 2.0.12 which is stored in the DTR.  When trying to create a linked folder we get the error "Project 'projectName' is mapped to repository type 'com.tssap.dtr.client.eclipse.DAV