Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Guys,
I have encrypted id in route and decrypted it in details action but id property type is int and when i encrypted it i change it to string and convert it again when decryption to int.
It’s working fine with details action and working fine with edit and delete get actions but edit and delete post action the id sent to post with 0 value so the post action read null and not working.
Whats the best way to i can encrypt id ?

What I have tried:

Uploadfiles.io - POS.rar[^]
Posted
Updated 3-Jan-18 2:13am
Comments
F-ES Sitecore 17-Nov-17 6:43am    
Looks like there is a problem with your code then, as we can't see your code (and no-one is going to download your file and go through it) we can't really help.

However I fear your ultimate aim is somewhat useless;

https://forums.asp.net/post/5825782.aspx

1 solution

 
Share this answer
 

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