aspose file tools*
The moose likes Servlets and the fly likes session suddenly missing after do payment gateway Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "session suddenly missing after do payment gateway" Watch "session suddenly missing after do payment gateway" New topic
Author

session suddenly missing after do payment gateway

mance budiman
Greenhorn

Joined: Nov 29, 2010
Posts: 1
Dear All,

Currently we have problem with our application that goes to online payment.
after do payment, the page that supposed to process after-payment thing checked no session and throw the user to login page.

functionally the process goes like this:
1. customer login, do fill in some data and amount. click 'proceed to payment'.
2. system redirect page to payment gateway system, throwing session id of the customer. and also send the after-successful-payment url.
3. customer fill in payment information and click 'submit' on the payment gateway page.
4. system redirect back to the original system, send notification (to make sure the original system still alive) and sending the passed session id.
5. original system will check the session id., proceess it, and send notification to payment gateway that the system still alive.
6. payment gateway receive the notification, do deduction, and resent the last information that the money has deducted.
7. original system check whether the session still alive, process the url and session id given from payment gateway and do another process (like generating the receipt, etc).

however, the last step in step 7, original system (our application) 'sometimes' check that the session already changed (it's printed out in log 4 j). therefore throw the customer to login page, asked for login again.
it's only happen in 1-2 customer local PC.

any idea what setting to be checked?
i have tried:
- change browser from IE to firefox.
- clean up temporary files.
- clean up jre temporary files.

nothing fix the problem. dunno whether the problem in the application or customer's local pc.

please advise.

thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19755
    
  20

Hi mance, welcome to the Ranch!

Please CarefullyChooseOneForum next time; I feel this thread will fit better in our Servlets forum. I'll move it there.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30894
    
158

Mance,
Welcome to the Ranch!

How long does all this take? It couldn't be timing out, right? Or overwriting a session cookie?

Also, do you know if the users with the problem have anything in common?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

I agree with Jeanne.

You must check if there is nothing overwriting a session cookie. If cookie is enabled. How long is the timed-out configured.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session suddenly missing after do payment gateway