Session timeout and session.invalidate() -- are they the same?

I was just wondering when a session timeout occurs (either by setting the session-timeout in web.xml or the server's default timeout), is the session automatically invalidated? Or should we call setMaxInactiveInterval() instead? Or is calling session.invalidate() the only way to invalidate a session?

Hello all,
Both are same in terms of functionality, but if you use both of them like
1: You specified the tag sessionTimeout and
2: in your program the session.maxInactiveIntervalTime( value ) here if the value is(we gave it in terms of seconds like for 40 minutes we give 2400) then the program code will override the value previously set in web.xml
Thanks
Prabhakar

Similar Messages

  • MBP w/ Retina Keys and MBP Keys are they the same spec

    Hello,
    I was wondering if the MBP w/ Retina display has the same keyboard key size as the MBP. I am asking this to know if I can replace Keys from my MBP on MBP w/ Retina Display.
    Thank you!

    http://forum.lenovo.com/t5/Lenovo-3000-and-Valueline/Can-Individual-keys-and-springs-be-replaced-on-...
    have a look at the company listed in the above link.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Beats Solo HD On-Ear Headphone red has a 5 stars review compared to others,are they the same products ,same quality of sound?

    Beats Solo HD On-Ear Headphone red has a 5 stars review compared to others,are they the same products ,same quality of sound?

    First, there are plenty "Fake" Beats headphones and earphones, they are almost looked the same with the original, but the sound qualities are basically poor.
    Beats is good for people who likes strong bass.
    Recently, I am in love with the new Apple earpods, they perform good, and particular with an app. called "Dirac" lite.
    This is a great review for most of the top quality headphones and earphones
    http://www.head-fi.org/t/634201/battle-of-the-flagships-57-headphones-compared-u pdate-hifiman-he-400-added-12-24-12
    I have the below quite interesting too
    http://dalethorn.com/Headphones_Top_30.txt

  • HT5621 Me and my daughter are using the same Apple id and we share the same iCloud account. I want to change her Apple id so that she will have her own icliid account and I will have mine. how do I do it?

    Me and my daughter are using the same Apple id and we share the same iCloud account. I want to change her Apple id so that she will have her own icloud account and I will have mine.
    1. how do I do it?
    2. how do I  transfer her stuff which is in my icloud storage to her new icloud account once this one is created?
    thanks,
    Ari

    To migrate her device to a new account, start by saving any photo stream photos she wants to keep to her amera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow, then tapping Save to Camera Roll.  If she is syncing notes with iCloud, you'll need to open each of the notes and email them to her so she can later copy and paste the text into new notes created in her new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud), choose Keep on My iDevice and provide the password to turn off Find My iPhone.  Then sign back in with a different Apple ID to create her new account and choose Merge to upload the data.
    Once you are on separate accounts you can each go to icloud.com from a computer and delete the other person's data from your account.

  • TS3988 Hi both myself and my wife are on the same account so we receive each others contacts and I messages. How can I get my wife a separate I'D but keep her on the account so she can still purchase items on the account thanks Gary Eveling

    Hi. Both myself and my wife are on the same account meaning same credit card. The problem with this is we both receive each others contacts and see each others I messages.
    How can my wife have a different name so we are separate on such things as contacts and I message but she can still purchase items on the account.
    Many thanks
    Gary Eveling

    You entered your wife's seperate AppleID? Check you can login with the same AppleID here: http://appleid.apple.com/ on a computer.
    Some of the photos in that link apply to setting up iCloud on a device from new, not when setting it up later. It won't look the same (the dark gray background) for you as you're setting it up now.

  • I have 2 accounts and all messages are in the same inbox, I want to separate both as with the previous OS

    I have 2 accounts and all messages are in the same inbox, I want to separate both as with the previous OS

    Hi fmethot, 
    What is the version of your router? Is it version 1 or 2? The Cisco 10521 is the last 5 digits of the serial number of your router. That is the default network name of your router. 

  • HT2518 When I try using Migration Assistant an error appears on my pc... "An error occurred while preparing your information for transfer."  My mac just continues searching for the pc and yet both are on the same wifi.  Please help!!!

    When I try using Migration Assistant an error appears on my pc... "An error occurred while preparing your information for transfer."  My mac just continues searching for the pc and yet both are on the same wifi.  I'm not getting anywhere!  Please help!!!

    Simple...
    http://www.apple.com/uk/support/mac/app-store/contact/

  • I just bought an Apple TV and I'm trying to connect airplay but the icon does not appear! My iPhone and Apple TV are on the same wifi connection but the airplay button does not apper?

    I just bought an Apple TV and I'm trying to connect airplay but the icon does not appear! My iPhone and Apple TV are on the same wifi connection but the airplay button does not apper? The same thing with my iPad mini

    Try restarting all devices including portable  iOS ones and your router.
    Check Airplay is not disabled in AppleTVs settings.
    AC

  • How to send email to a SMTP server over a secure channel using STARTTLS setting of a send connector (Exchange and SMTP server are in the same domain)

    I’m trying to send email using exchange send connector STARTTLS setting to the SMTP server. I have read multiple documents on configuring TLS for send connector, but they talks about outbound connections to internet facing servers. My Exchange 2013 and SMTP
    server is in the same domain (let’s say A.com) and I’m creating dummy domains on my SMTP server (e.g.
    [email protected],
    [email protected] ) and their respective send connectors on the exchange server end. In the smart host section added the IP address of the SMTP server and in the scoping section added the SMTP domain address (e.g. dummy1.local ). In the FQDN field, added
    the FQDN of the exchange server 2013 which certificate is enabled with SMTP service.
    Could you tell me a step by step procedure, where I’m going wrong or any extra settings needs to added?
    Presently, it is giving me an error that 530 5.5.1 TLS encrypted connection is required.
    Note: I’ve created the Microsoft CA certificates for the SMTP and exchange servers and imported them in the personal certificate container. In which, the exchange certificate is created with FQDN name of the server and enabled for the SMTP service.
    I’m using OPENSSL certificate for making the SMTP server TLS enabled. (let me know, if I need to import the OPENSSL certificate anywhere on the exchange end)?
    Thanks!

    -IgnoreSTARTTLS is set to false on the send connector properties.
    I'm trying to established a HTTP over TLS connection. I'm not using mutual TLS between these two server.
    The send connector protocol logging is attached as below,
    2014-09-22T20:09:45.468Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,2,10.219.3.74:24939,10.219.3.73:25,<,220 SMTP.A.local Welcome (MTA version),
    2014-09-22T20:09:45.546Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,3,10.219.3.74:24939,10.219.3.73:25,>,EHLO Exchange.A.local,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,4,10.219.3.74:24939,10.219.3.73:25,<,250-SMTP.A.local Exchange.A.local OK,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,5,10.219.3.74:24939,10.219.3.73:25,<,250-SIZE,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,6,10.219.3.74:24939,10.219.3.73:25,<,250-8BITMIME,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,7,10.219.3.74:24939,10.219.3.73:25,<,250-BINARYMIME,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,8,10.219.3.74:24939,10.219.3.73:25,<,250-PIPELINING,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,9,10.219.3.74:24939,10.219.3.73:25,<,250-HELP,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,10,10.219.3.74:24939,10.219.3.73:25,<,250-DSN,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,11,10.219.3.74:24939,10.219.3.73:25,<,250-CHUNKING,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,12,10.219.3.74:24939,10.219.3.73:25,<,250-AUTH SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,13,10.219.3.74:24939,10.219.3.73:25,<,250-AUTH=SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,14,10.219.3.74:24939,10.219.3.73:25,<,250-STARTTLS,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,15,10.219.3.74:24939,10.219.3.73:25,<,250-DELIVERBY,
    2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,16,10.219.3.74:24939,10.219.3.73:25,<,250-MT-PRIORITY,
    2014-09-22T20:09:45.640Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,17,10.219.3.74:24939,10.219.3.73:25,<,250 ENHANCEDSTATUSCODES,
    2014-09-22T20:09:45.655Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,18,10.219.3.74:24939,10.219.3.73:25,>,STARTTLS,
    2014-09-22T20:09:45.671Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,19,10.219.3.74:24939,10.219.3.73:25,<,220 2.7.0 Ready to start TLS,
    2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,20,10.219.3.74:24939,10.219.3.73:25,*,,Sending certificate
    2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,21,10.219.3.74:24939,10.219.3.73:25,*,CN=Exchange.A.local,Certificate subject
    2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,22,10.219.3.74:24939,10.219.3.73:25,*,"CN=DC-CA, DC=A, DC=local",Certificate issuer name
    2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,23,10.219.3.74:24939,10.219.3.73:25,*,63E7E70100000000000B,Certificate serial number
    2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,24,10.219.3.74:24939,10.219.3.73:25,*,CAEB1200CDF49715E5F2E4B8315EFDDC01F8F945,Certificate thumbprint
    2014-09-22T20:09:45.780Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,25,10.219.3.74:24939,10.219.3.73:25,*,Exchange.A.local,Certificate alternate names
    2014-09-22T20:09:46.654Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,26,10.219.3.74:24939,10.219.3.73:25,-,,Local
    2014-09-22T20:09:46.669Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,0,,10.219.3.73:25,*,,attempting to connect
    2014-09-22T20:09:46.685Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,1,10.219.3.74:24940,10.219.3.73:25,+,,
    2014-09-22T20:09:46.701Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,2,10.219.3.74:24940,10.219.3.73:25,<,220 SMTP.A.local Welcome (MTA version),
    2014-09-22T20:09:46.701Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,3,10.219.3.74:24940,10.219.3.73:25,>,EHLO Exchange.A.local,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,4,10.219.3.74:24940,10.219.3.73:25,<,250-SMTP.A.local Exchange.A.local OK,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,5,10.219.3.74:24940,10.219.3.73:25,<,250-SIZE,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,6,10.219.3.74:24940,10.219.3.73:25,<,250-8BITMIME,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,7,10.219.3.74:24940,10.219.3.73:25,<,250-BINARYMIME,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,8,10.219.3.74:24940,10.219.3.73:25,<,250-PIPELINING,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,9,10.219.3.74:24940,10.219.3.73:25,<,250-HELP,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,10,10.219.3.74:24940,10.219.3.73:25,<,250-DSN,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,11,10.219.3.74:24940,10.219.3.73:25,<,250-CHUNKING,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,12,10.219.3.74:24940,10.219.3.73:25,<,250-AUTH SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,13,10.219.3.74:24940,10.219.3.73:25,<,250-AUTH=SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
    2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,14,10.219.3.74:24940,10.219.3.73:25,<,250-STARTTLS,
    2014-09-22T20:09:46.732Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,15,10.219.3.74:24940,10.219.3.73:25,<,250-DELIVERBY,
    2014-09-22T20:09:46.732Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,16,10.219.3.74:24940,10.219.3.73:25,<,250-MT-PRIORITY,
    2014-09-22T20:09:46.732Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,17,10.219.3.74:24940,10.219.3.73:25,<,250 ENHANCEDSTATUSCODES,
    2014-09-22T20:09:46.810Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,18,10.219.3.74:24940,10.219.3.73:25,*,,sending message with RecordId 52652004081667 and InternetMessageId <[email protected]>
    2014-09-22T20:09:46.810Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,19,10.219.3.74:24940,10.219.3.73:25,>,MAIL FROM:<> SIZE=7653 BODY=BINARYMIME,
    2014-09-22T20:09:46.810Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,20,10.219.3.74:24940,10.219.3.73:25,>,RCPT TO:<[email protected]>,
    2014-09-22T20:09:46.825Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,21,10.219.3.74:24940,10.219.3.73:25,<,530 5.5.1 A TLS-encrypted connection is required,
    2014-09-22T20:09:46.950Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,22,10.219.3.74:24940,10.219.3.73:25,<,503 5.5.1 unexpected RCPT command,
    2014-09-22T20:09:46.981Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,23,10.219.3.74:24940,10.219.3.73:25,>,RSET,

  • Po Creation Date and Orader Datate are holding the same values or diffrent?

    Hi All,
    Please clarify on weather the PO Creation_Date at header level and Po Order Date at the Summary level both are having the same data or different.
    Thanks,
    Sathya.

    Sorry, but it's difficult to describe ... I'm not sure if I can recreate this on ApEx-Site, but I take a try.
    Without pagination report is much slower than before.
    The diffrence between the two output version is that the column
    NVL(AVG(preisnext),AVG(preiscurrent)) - NVL(AVG(preiscurrent),AVG(preisnext)) Entwicklung
    is computed as 0 in the using-items-version (wich is not correct).
    I found out that when I replace the NULL-columns in the subquery (NULL preiscurrent // NULL preisnext) with static values (e.g. 0) it works again, but with average function the result is not correct.
    Hoped that someone got this problem, too.
    Just as I thought, I don't get the problem with a simple example version (http://apex.oracle.com/pls/otn/f?p=51163) :-|
    And the strange thing is that it works when I started application for the first time this morning, but after changing Input Values it went wrong. (Meanwhile I logged out and in again to be sure that cache is cleared but no effects).
    Edited by: user11884435 on 10.09.2009 01:31
    Meanwhile I suspect that problem got something to do with source of an item: when it's static it's O.K.; when it's based on a query (SELECT TO_DATE(:P1_DATUM_NEU,'dd.mm.yyyy') - 7 FROM dual;) then it goes wrong ... seems that the subselect returns no rows because of this.
    ...to be continued ;-)
    Edited by: user11884435 on 10.09.2009 02:44

  • Backup failed . Make sure your computer and backup drive are on the same network. What does this mean?

    Backup Failed.  Comment is "Make sure your computer and backup disc are on the sme network and the backup disc is turned on".  What does this mean?

    Just back from the dentist.
    Did a hard reset and when i asked time capsule to do a backup it tells
    me
    "Time Machine could not complete the backup. The backup disk image is already in use"
    I think I misunderstand how this back up device works.
    Is it to be plugged into the back of the router with an ethernet cable?
    I have the Time capsule sitting beside my Imac.
    The cable modem and router are in another room
    I am new at this stuff.  Thank you for patience and help

  • Sent boxes in Gmail and in Mail are not the same

    Hi, I am using Gmail and Mail in OS X lion.  When I send a message through Gmail (on Firefox), the message is not in the sent box in Mail. The sent box in Mail keeps messages sent through only Mail. Is there any way to "synchronize" sent boxes in Gmail and Mail? Thanks,

    If you have the Gmail account set up in Mail correctly, you will have the Gmail IMAP folder at the bottom of the Mail sidebar. The Inbox will automatically synced with the Inbox folder, so it won't show up in the IMAP mailboxes.
    Highlight the sent mailbox under the IMAP folder, go to the main menu in Mail, click on Mailbox, scroll down to the "Use This Mailbox For", and select Sent. Do the same for others you want to see such as Trash.
    Also, select to store messages on the server in Mail preferences under Mailbox behaviors and set you delete time to your preferences.

  • How come the same apps that are available for my iPhone and my iPad are not the same as the apps in the app store on my mac

    I want some of the same apps available on my iphone and ipad2 to be available on my macbook pro app store and to be able to link them through icloud. Is this not possible? If not, why not?

    The Mac uses Mac OS X and iDevices use iOS. These are two different operating systems and the apps must be written for each operating system specifically, even when the apps go by the same name, such as the iWork apps, they are two ifferent versions of the same app for the two different platforms.
    So, as an example, Safari has been written for three different operating systems, Mac OS X, iOS and Windows. And the Safari apps, as similar as they are visually, are not interchangeable for the different platforms.

  • DDNS Lack of Options. Only DynDNS and TZO (which are now the same thing)

    DDNS is an open standard. Why not let us put in any URL for a DDNS server we want?  Or at least expand the list of them to the many many other DDNS providers out there.
    The buy in/bait and switch is:  those two free options went to one free option went to no free options: PAY THE MAN.
    That's not right.  We shouldn't be forced by your Firmware into a new fee arrangement that we didnt' have up front.
    Easy fix in the firmware, if you would...   

    I noticed that too. I guess most routers these days as well has already been following the same standard, which made me think that this aspect has definitely fallen as a product limitation. Right now, we are only torn of choosing between the providers supported by the routers.
    Help, learn and share

  • Mini DVI and Mini DisplayPort are not the same thing!

    I bought this "Mini DVI to DVI" adapter thinking it would hook up my Epson projector to the new MacBook Pro:
    http://store.apple.com/us/product/M9321G/B?fnode=MTY1NDA3Ng&mco=MjE0NTE2OA
    BUT tonight I found out it is NOT the right thing. The adapter I need would be "Mini DisplayPort to DVI (or VGA)"
    I found the full sized DVI ♂ and ♀ ends of the adapter and projector cord I do have don't "mate" right either. The pins have a slightly different arrangement!
    I just want to warn anyone who might stumble in the same place. I'm off to my local Apple Store to return the adapter for one that will fit one of my projector inputs with a Mini DisplayPort plug on the other end.

    Good call!! Thanks a million. Glad I asked &amp; thanks for the quick response. I was getting frustrated. Thanks again!!!!!

Maybe you are looking for

  • How do I "REPLACE" photos in a timeline?

    Is there a way to "replace" photos that are currently in a timeline (in iMovie 06)? I looks like I only have the option to delete a current photo in the timeline and the replace it with the new one that I want to put in. There must be some sort of "r

  • Created an Adobe PDF form via LiveCycle Designer ES 8.2, used the New Form Assistant, prob w/ email

    I created a form to be distributed, filled in and emailed back to me for my company. It has been working fine, but now I need to change the email address where it will be sent when the user clicks the "Submit Form" button. How? All I need to do is ch

  • Generate error list with object detail

    Dear All, I have two way (multimaster ) Replication but due to some reason it generated many errors during replicate data so to resolve errors, I want to generate error list (Report) with object details instead viewing them one by one. please guide T

  • Prereq query for Logical Standby runs for days

    Have had an SR open for a month that isn't getting anywhere, thought I'd check here and see if anybody has run into this. We're looking at setting up a logical standby database, Oracle 11.2.0.3 on AIX running PeopleSoft. There is a prereq query in th

  • ALE for G/L and Cost Center Master Data

    Dear Expert, I am a fresher in ALE  and want to distribute G/L and Cost Center Master Data from our production system to Development and Q/A system. Can you give some guidances? and how to configure ALE for this purpose? Regards, MAL