Dinesh Bali
asked on
Session Value gets null once we get response from external URL
Hi,
I am working on C# MVC application.
I have payment integrated in my website. For payments, we call payment url which is loaded in iFrame.
We have no control on the form which opens in iFrame, as it captures credit card details.
Now, once user does the payment by clicking submit button in payment form, which (submit form) is in iFrame.
After successful/unsuccessful transaction we are receiving response in handler page.
After getting response in handler page we are losing session of our web application.
It works well in chrome but does not work in IE, Firefox.
What we should do so that we should not loose our session once the redirect happen.
Also, we see Chrome has same id before and after confirmation done.
But other browser gives us different session id's when returns from payment page.
Please advise the solution.
I have below configuration in my web.config already.
<httpCookies httpOnlyCookies="true" requireSSL="false" />
I am working on C# MVC application.
I have payment integrated in my website. For payments, we call payment url which is loaded in iFrame.
We have no control on the form which opens in iFrame, as it captures credit card details.
Now, once user does the payment by clicking submit button in payment form, which (submit form) is in iFrame.
After successful/unsuccessful transaction we are receiving response in handler page.
After getting response in handler page we are losing session of our web application.
It works well in chrome but does not work in IE, Firefox.
What we should do so that we should not loose our session once the redirect happen.
Also, we see Chrome has same id before and after confirmation done.
But other browser gives us different session id's when returns from payment page.
Please advise the solution.
I have below configuration in my web.config already.
<httpCookies httpOnlyCookies="true" requireSSL="false" />
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here for documentation the Solution from above second link: