Mantain Session when moving to a different site and comming back

Hi all.... i have an application that runs some credit cards verification.. when the user reachs the checkout point, the system redirect some information to the page of our credit card system provider , then it checks there if transaction is approved and then returns to another page of my application. I put some information on the session before the application goes to the other site and I need to get that same information once I get back to my application, anyone has any clue to make this?

Session has to be the same. Before going/calling credit card checking program you should do 1 things: be sure that your session won't be destroyed while you're checking damned card. AFAIK default session invalidation time is 15 minutes (or even 1/2 hour) so you shouldn't be late :) If you're not sure about that you'd better call before going carding smth like:
hs.setMaxInactiveInterval(-1);So your session will never be destroyed/invalidated, well it depends on particular Servlet/JSP container.
Anyway after checking of card request again for your session:
HttpSession hs=request.getSession(false);
if(hs==null)
      System.err.println("My session is destroyed!");Paul

Similar Messages

  • Error message when moving to a different page

    Post Author: EvDev
    CA Forum: .NET
    I have an ASP.NET 2.0 and Crystal Reports 11.5 project that works fine
    when it's being debugged and when it's on our test server, but when we move it
    to our production server the user will receive an error message when moving to a
    different page of the report.  It's an
    "Object reference not set to an instance of an object".  It seems very
    odd for me for something to work on the test server but not on production.   Has
    anyone seen this before?  Thanks

    Hi there,
    This does seem like a very valid process to be sure
    I'm guessing that the fix is shown in "Solution 1" in this doc;
    http://www.cisco.com/en/US/partner/products/sw/voicesw/ps556/products_tech_note09186a0080b04158.shtml
    Cheers!
    Rob

  • When moving a file using drag and drop, as I hover over the destination folder it no longer opens, so I can't drop the file into the folder.  Why?

    When moving a file using drag and drop, as I hover over the destination folder it no longer opens, so I can't drop the file into the folder.  Why?  I have a heirarchical embedded folder structure under \Documents.  Usually, as I drag the file to be moved over the various folders, they will blink twice, then expand/open to reveal contents (in Finder).  Now, when the file to be moved is held (hovering) over the destination folder, it will not blink or expand, so there's no place to drop the file.  If I release the mouse button, the file image disappears, showing that it is "going back to the place it came from", a.k.a. was not moved.  This just started happening.  I noticed it after upgrading to Mavericks.  Is this a bug or could anything else be causing this?

    As of today, Apple Support discovered during a remote support session with me that the same thing happens on their own system.  It is isolated to "Column View"; the Icon and List views in Finder behave correctly.  Issue is being escalated to engineering, and Apple will call to report status in a couple days.  In all likelihood, this is a bug that will need to be addressed in a future update.

  • When i go into history to delete everything but when i go to type site it comes up and name and password are saved i want to delete all this but cannot

    Question
    when i go into history to delete everything but when i go to type site it comes up and name and password are saved i want to delete all this but cannot edit

    Quote from the article.
    Time Machine in OS X Lion includes a new feature called "local snapshots" that keeps copies of files you create, modify or delete on your internal disk. Local snapshots compliment regular Time Machine backups (that are stored on your external disk or Time Capsule) giving you a "safety net" for times when you might be away from your external backup disk or Time Capsule and accidentally delete a file.
    So what makes a notebook any different then a desktop, other then with a desktop you might have your tm backup drive connected all the time.
    The object here is to not indiscriminately delete files you need or want to keep. I personally have never deleted a file I wanted to keep.
    In essence a backup is for catastrophic failure of your system. So it can be restored once that failure has been fixed. Not because you go in willy nilly and start deleting files.

  • Image size changes when moving an image between Lightroom and CC.

    Image size changes when moving an image between Lightroom and CC.
    I opened a .dng image in LR and then opened it in the Develop module.  I clicked on Crop Overlay and then on the ‘As Shot’ drop down menu (the lock is closed) and cropped to 11 x 17 and clicked ‘Done’-.
    I click Cntl-E and the image opens in CC.  There I click on Image > Image Size and the Image Size  is 13.288 inches by 20.533 inches.
    Why does the image size change?
    I believe there is a menu to control the size of the image and I've looked everywhere I can think of in LR and CC, I googled various descriptions and I checked two of Scott Kelby's books, but I just can't figure out how to keep the image a consistent size when moving between LR and CC.
    Help!...Please?

    The penny will drop soon or maybe the cloud will lift.
    In Lightroom all editing is undoable/nondestructive.
    Hence a crop of 3x2 is not inches, centimetres, pixels or anything else. It is jst a ratio. When a file is exported, either to PS or disk, then the crop ratio has size determined in respect of pixels and inches or cms.
    So my 6000x5000 pixel image I will crop to 3x2 that leaves (before exporting) a 6000x4000 file.
    Now when exported it can be set to export at
    100pixels per inch and will end up at 60x40" when printed.
    200pixels per inch will end up at 30x20"
    300ppi will end at 20x13.3"
    You will notice in the Crop Tool there are no size denominations such as inches or centimetres as an image file only has pixels and the determination of size is done through exporting or printing.
    Hope that helps somewhat..

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • How do I Restore previous session when I have it setup correctly and it did not restore from last session? I have General is set to Show my windows .....

    How do I Restore previous session when I have it setup correctly and it did not restore from last session? I have General is set to Show my windows and tabs from last time and Privacy set to remember history.
    These to pages do NOT apply: https://support.mozilla.org/en-US/kb/restore-previous-session
    https://support.mozilla.org/en-US/kb/how-do-i-restore-my-tabs-last-time
    There is No option to restore previous session when I go into History. There is No Recent history in the History. It will show my history if I click on show History, but it won't restore it!

    Hi StuckAtHomeMom
    try in PRIVACY panel to set : Firefox will: Use custom settings for history and :
    Uncheck: [ ] "Always use private browsing mode"
    Uncheck: [ ] "Clear history when Firefox closes"
    check everything else and in Accept third-party cookies, set Keep until: they expire
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • WHEN I PUT AN MP3 INTO GARAGEBAND TO USE AS A SAMPLE THE SAMPLE CHANGES WHEN I SAVE AND COME BACK TO THE PROJECT, HELP!

    I am using An MP4 that I turned into an Mp3 as a sample on a song.   When I try to use the middle part of the file it just changes to another part of the track.  When I save the project and come back to it the sample is completely different than when I saved it. HELP!

    I believe you have to do Get Info on the file through the Finder (not thru iTunes...search for the track in the music folder on your hard drive) and you should see a toggle arrow for Ownership and Permissions. See if it says Read and Write.

  • We can not clear all recents(30 recents call).  When Tango show "No recents call". We touch other buttons and come back to Recents button again.  It still show 30 recents call.

    We can not clear all recents(30 recents call).  When Tango show "No recents call". We touch other buttons and come back to Recents button again.  It still show 30 recents call.

    No one here is going to do anything about it. Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • I recently Updated my phone and my front camera stopped working its pitch black but still shows the icons on the screen but when i get off the app and get back on and flip the camera to my face view it works fine

    I recently Updated my phone and my front camera stopped working its pitch black but still shows the icons on the screen but when i get off the app and get back on and flip the camera to my face view it works fine

    Hi there Fgonzalez2015,
    You may find the camera troubleshooting steps in the article below helpful.
    Get help with the camera on your iPhone, iPad, or iPod touch
    You see a closed lens or black screen
    If you see a closed lens or black screen when you open the Camera app, try these steps:
    Make sure that there’s nothing blocking the camera lens. If you’re using a case, try removing it.
    Force the app to close, then open the Camera app again.
    Restart your device, then open the Camera app again.
    If your device has a front and rear camera, try both cameras by tapping the camera swap icon . If you see the closed lens or black screen on only one camera, take your device to an Apple Retail Store or Authorized Service Provider for more help.
    -Griff W.  

  • I want to delete a few contacts, apps, pics etc from my iphone, but when I delete and connect to my laptop they sync and come back again. How can I delete those items and not get them back when I connect my iphone to my laptop?

    I want to delete a few contacts, apps, pics etc from my iphone, but when I delete and connect to my laptop they sync and come back again. How can I delete those items and not get them back when I connect my iphone to my laptop?
    Also where exactly on the laptop is teh data stored.
    Thank you!!

    go to 'Edit' in the menu bar. Then choose 'Preferences'.
    you'll see a pop-up and there's a tab called 'Devices' there. If you click that, you will be able to check a box that says 'prevent automatic syncing for iPods, iPads and iPhones' or something like that.
    Hope this helps
    NB: if you don't even see the menu bar that has options like 'File, Edit, View, etc', first click the black/white square button on the top left of your screen, and then click 'show menu bar'. It should pop right up.
    Good luck

  • I have rearranged all icons on the second and third pages to have a just a photo on my home, but if i switch off the iphone when i restarted it all the icons come back in the old position on the home and second page. I have ios5.

    I have rearranged all icons on the second and third pages to have a just a photo on my home, but if i switch off the iphone when i restarted it all the icons come back in the old position on the home and second page. I have ios5.

    you can suggest it here - http://www.apple.com/feedback/iphone.html
    And it is only a problem if you want a blank first screen.  Personally, it would drive me nuts always having to swipe over one page to get to my apps - the only time I unlock my iPhone is to use it or run an app, so no, I have no need nor desire to have a first screen with no icons at all.
    But, if they'd put it in as an option so people like yourself can also have what they want, that's fine too    So send them your feedback (they actually do listen - iOS 5 includes a number of things people have been asking for on these forums, like being able to delete individual entries from the call history, inproved alerts/notifications, being able to opt out of all the location based data they collect,...).

  • Hello! I'm using Aperture with Efex plugins and notice, what when I saving result in plugin and go back to aperture, preview mode is going to grey color and not working until I reboot Aperture. Did you saw this problem?

    Hello! I'm using Aperture with Efex plugins and notice, what when I saving result in plugin and go back to aperture, preview mode is going to grey color and not working until I reboot Aperture. What is intresting - in full screen mode everything works fine. Did you saw this problem?

    It seems there's a workaround here:
    https://discussions.apple.com/thread/5566037?tstart=0

  • Just bought an Airport extreem for my windows xp. Need Airport Utility v5.5.3. When I go to apple downloads it comes back page not available, try later. Whats up. Is there another way to get this utility so I can get started?

    Just bought an Airport extreem for my windows xp. Need Airport Utility v5.5.3. When I go to apple downloads it comes back page not available, try later. Whats up. Is there another way to get this utility so I can get started?

    AirPort Utility 5.5.3 for Windows - Support - Apple works fine for me as well as a test.

  • Display goes off and comes back only when Satellite A210 is restarted

    Hi,
    Satellite A210 displays goes off now and then and comes back only when the machine is restarted.
    Usual runtime runtime 30 or 45 mins
    Please advice
    # Is this a hardware problem or software?
    # Does some one else faced same problem do advice?
    Machine is year and a half old runs windows vista basic that comes with it.
    I have reinstalled the display adapter drivers also the problem remains same

    Hello
    Have you tested an external monitor on the notebook?
    If the external monitor works fine it seems to be an internal display issue and must be replaced.
    Are you running the factory settings on your notebook or have you installed your own Windows version? Before you go to an authorized service provider you should restore the factory settings to determine if its a hardware or software problem. With the factory settings all should work properly and if not in my opinion its a hardware problem.
    Check this!!!

Maybe you are looking for

  • Problem in Extension BAPI

    Hi All, I am trying to use the BAPI BAPI_BUS2001_CREATE which contains 60 user-defined fields. I have written the code T_EXTNIN-STRUCTURE  = 'BAPI_TE_PROJECT_DEFINITION'. ASSIGN I_BAPI_PROJ TO <FS1> . MOVE: <FS1>+0(240)   TO T_EXTNIN-VALUEPART1. MOVE

  • How to enable my account

    how do I enable my account after changing the password after multiple failed attempts to log in?

  • Work space window problem

    Hello, My workspace window is stuck half way at the top of my screen. I can only see half of it and can't reach tthe top of it to resize it or bring it back to full screen. I am working on a mac.  I even tried uninstalling and reinstalling my program

  • I get an error message when I connnect my digital camera to my Ipad 2 to dump pictures.  Something about the device (camera) takes too much power?

    I get an error message when I connect my digital camera to my Ipad 2.  Something to the effect that the device takes too much power...Any ideas how to remedy?

  • Virtual Key Figure - Cumulation

    Hi all, I am trying to cumulate a virtual key figure for all fiscal periods one by one but I want to sort the Fiscal periods in the badi RSR_OLAP_BADI as if the fiscal periods are not sorted then the cumulation does not happen correctly.Could anybody