Problem with add to cart whenever we refresh the browser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with add to cart whenever we refresh the browser

ritecart
Hi,

 can anyone tell me how to solve the problem for add to cart on browser
refresh.
Whenever we add any product it adds one quantity and again if I refresh the
browser it adds one more product.
can any one give me the solution for this.

--
"Print this mail only if absolutely necessary".
Save Paper. Save Trees.

Regards,
Amrish Kumar,
Palindrome Software Labs
Reply | Threaded
Open this post in threaded view
|

Re: Problem with add to cart whenever we refresh the browser

Adrian Crum-3
It seems to me that is a problem common to any web-based or
browser-based application. Clicking the browser's Refresh button repeats
whatever you did previously. Some browsers will warn the user that data
duplication might occur.

-Adrian


On 4/13/2011 12:20 AM, Amrish Kumar wrote:
> Hi,
>
>   can anyone tell me how to solve the problem for add to cart on browser
> refresh.
> Whenever we add any product it adds one quantity and again if I refresh the
> browser it adds one more product.
> can any one give me the solution for this.
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem with add to cart whenever we refresh the browser

Deepak Dixit-2
In reply to this post by ritecart
You can use request-redirect for add to cart request.

ie.
<response name="success" type="request-redirect" value="main"/>



Thanks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
www.hotwaxmedia.com
Contact :- +91-98267-54548
Skype  :- deepakdixit

On Apr 13, 2011, at 12:50 PM, Amrish Kumar wrote:

> Hi,
>
> can anyone tell me how to solve the problem for add to cart on browser
> refresh.
> Whenever we add any product it adds one quantity and again if I refresh the
> browser it adds one more product.
> can any one give me the solution for this.
>
> --
> "Print this mail only if absolutely necessary".
> Save Paper. Save Trees.
>
> Regards,
> Amrish Kumar,
> Palindrome Software Labs

Reply | Threaded
Open this post in threaded view
|

Re: Problem with add to cart whenever we refresh the browser

S K Pradeep kumar
You can use ajax.

With regards,
S K Pradeep kumar,
9980609494


On Wed, Apr 13, 2011 at 1:41 PM, Deepak Dixit
<[hidden email]>wrote:

> You can use request-redirect for add to cart request.
>
> ie.
> <response name="success" type="request-redirect" value="main"/>
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
> HotWax Media Pvt. Ltd.
> www.hotwaxmedia.com
> Contact :- +91-98267-54548
> Skype  :- deepakdixit
>
> On Apr 13, 2011, at 12:50 PM, Amrish Kumar wrote:
>
> > Hi,
> >
> > can anyone tell me how to solve the problem for add to cart on browser
> > refresh.
> > Whenever we add any product it adds one quantity and again if I refresh
> the
> > browser it adds one more product.
> > can any one give me the solution for this.
> >
> > --
> > "Print this mail only if absolutely necessary".
> > Save Paper. Save Trees.
> >
> > Regards,
> > Amrish Kumar,
> > Palindrome Software Labs
>
>