During the webpage posting to the server, the textboxes,the uploaded files is cleared(because the server recreating the webpage,my solution to this problem is storing varibles values in session varibles and retriving the varibles values after page recreation...I want some webdeveloper to confirm me the correctness of this solution or advice me another way of maintaining varibles values.
thanks for all.

Recommended Answers

All 2 Replies

moved

You question is not clear but I guess you asking about keeping data recieved from user through web form and reusing them later
This is similar across diferent languages
1) Retrive data from form and validate them either directly on the page if you have algoritm in place or in servlet (in Java web development)
2) Servlet store data in sessions and call next page (alternatively return to original page)
3) Next page request session and use it as necessary

Hope this is what you been looking for

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.