Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my application i want to implement payment gate way

Description:

User has to enter required information. and click on payment, then it should redirect to the payment gateway. Once it has been done again It should redirect to my page.

Problem: Before payment gateway what user entered, that information I have to use after payment confirmation (Operation has to done at client side only).

for this what you can suggest.

I am using Coockies (But it is less Security )

Thanks
Posted
Updated 19-Dec-11 20:45pm
v2

You have three basic ways to do this:

1) Cookies
2) Session variables
3) Database.

All three of these can contain encrypted information, and there is no reason why you can't use a combination of two or three of these to increase security still further.
 
Share this answer
 
Comments
Sridhar Patnayak 20-Dec-11 4:34am    
Thanks for guiding me
Cookies are client side statemanagment and less secure compared to server side state managment.
Better to go with SESSION veariable rather than cookies.
cookies can be disabled in browser settings.
Fast, Scalable, and Secure Session State Management for Your Web Applications[^]
 
Share this answer
 
Comments
Sridhar Patnayak 20-Dec-11 4:33am    
Thanks for providing informative link
If you are worried about security (as you rightly should be), you should ensure that you use HTTPS and set the secured flag which ensures that your cookie will be encrypted.

I would suggest that you read this[^] paper to get a better understanding of cookie security.

Beyond that, I would go with Griff's suggestion of using a combination of Session, Cookie and Database to store the information in a secured fashion. If you use the database, make sure that you are storing sensitive information using encryption.
 
Share this answer
 
Comments
Sridhar Patnayak 20-Dec-11 4:31am    
Thanks for guiding me, The paper on Secure Coockie protocol is very useful

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900