to get javascript variabl in codebehind
-
hi please help me..... am doing a mantanence project. i have writen some code to copy a file from server to harddisk. but there is some problem. i have developed this as windows application. now they want as web. tyhe problem is, i was reading the file path and copying in dos.in windos the path is already is there in html page in javascript. can i move the value to a the code behind string(C#). if we can convert how is it possible? in code behind there is string Customer, book on html page there is values of customer1 and journal as var customer1 ='<%=Session["customer"]%>'; var journal = '<%=Session["journal"]%>'; how can we get the values of customer1 and journal to Customer, book please help me.... please
-
hi please help me..... am doing a mantanence project. i have writen some code to copy a file from server to harddisk. but there is some problem. i have developed this as windows application. now they want as web. tyhe problem is, i was reading the file path and copying in dos.in windos the path is already is there in html page in javascript. can i move the value to a the code behind string(C#). if we can convert how is it possible? in code behind there is string Customer, book on html page there is values of customer1 and journal as var customer1 ='<%=Session["customer"]%>'; var journal = '<%=Session["journal"]%>'; how can we get the values of customer1 and journal to Customer, book please help me.... please
P_Elza wrote:
how can we get the values of customer1 and journal to Customer, book
Put these values into a hidden server textbox control. Access the values from there in server side. Make sure you are not storing any sensitive information as it is easy to tamper.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
hi please help me..... am doing a mantanence project. i have writen some code to copy a file from server to harddisk. but there is some problem. i have developed this as windows application. now they want as web. tyhe problem is, i was reading the file path and copying in dos.in windos the path is already is there in html page in javascript. can i move the value to a the code behind string(C#). if we can convert how is it possible? in code behind there is string Customer, book on html page there is values of customer1 and journal as var customer1 ='<%=Session["customer"]%>'; var journal = '<%=Session["journal"]%>'; how can we get the values of customer1 and journal to Customer, book please help me.... please