Jump to content

Session problem with different browsers on redirecting from payment gateway


Recommended Posts

We are trying to capture customer details & redirecting the customer to payment gateway page and, after succesful transaction from payment gateway we are facing a problem for different browsers.

 

Ideally after successful transaction the page should redirect to order confirmation page but it is redirecting to our cart page.In IE7 it is working fine but in mozilla firefox it is redireting to cart page.On analyzing we found that session is not persisting in firefox.

Please help we have stuck here  :'( Suggest something if you have faced similar issue with different browsers.

Link to comment
Share on other sites

It's likely that you are redirecting back to a URLs on your site that has or doesn't have a www. (the hostname/subdomain) as part of the URL and it doesn't match the hostname/subdomain on the URL where you started the session and in the browser(s) where this does work, you probably have a matching session due to the URL where you started the session matching the URL you are redirecting back to.

 

Are you consistently using URL's all with or all without the www. and what is your session.cookie_domain setting?

Link to comment
Share on other sites

It's likely that you are redirecting back to a URLs on your site that has or doesn't have a www. (the hostname/subdomain) as part of the URL and it doesn't match the hostname/subdomain on the URL where you started the session and in the browser(s) where this does work, you probably have a matching session due to the URL where you started the session matching the URL you are redirecting back to.

 

Are you consistently using URL's all with or all without the www. and what is your session.cookie_domain setting?

 

Thanks a lot !!  :D it worked, we were using wrong url.

 

I have not set  session.cookie_domain in php.ini. BTW what is the function of this attribute.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.