Click here to Skip to main content
15,918,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two webservers When a user selects an item from a DropDownList and then clicks a submit button, the Click event on the button redirects them to the value of the selected item. This works fine if you are on Webserver1 and the button click PostBacks to Webserver1. If you are on Webserver1 and the load balance submits back to Webserver2, the page reloads and the Button click event never fires. This happen site wide and affects utilities such as submitting a textbox search and other form posting events.

i tried like this but it is not working.... please help me...

Force every server in your farm to use the same key; generate a hex encoded 64-bit or 128-bit <machinekey> and put that in each server’s machine.config.

<machinekey validationkey="’A130E240DF1C49E2764EF8A86CEDCBB4E5298A130CA08B90EED016C014344C29E67E99DF83347E43820050A2B9C9FC89E0574BF3394B6D0401A9′<br" mode="hold"

1 solution

add machine key in machine.config file in both servers the path of machine.config is

its working perfectly now please follow..
Share this answer
teja sai ravi 6-Dec-13 1:11am    
please see the link

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