Click here to Skip to main content
13,737,646 members
Rate this:
 
Please Sign up or sign in to vote.
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 17-Nov-17 0:30am
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.180920.1 | Last Updated 3 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100