User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 374,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,870 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser:
Views: 541 | Replies: 2
Reply
Join Date: Mar 2008
Posts: 5
Reputation: MahdiDani is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
MahdiDani MahdiDani is offline Offline
Newbie Poster

Question solution of webpage postback variables

  #1  
Mar 15th, 2008
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,182
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 34
Solved Threads: 822
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: solution of webpage postback variables

  #2  
Mar 15th, 2008
moved
'Politics' is made up of two words, 'poli,' which is Greek for 'many,' and 'tics,' which are blood-sucking insects.
- Gore Vidal
Being ignorant is not so much a shame as being unwilling to learn. - Benjamin Franklin
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 1,907
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 9
Solved Threads: 216
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Posting Virtuoso

Re: solution of webpage postback variables

  #3  
Mar 17th, 2008
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
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Site Layout and Usability Marketplace
Thread Tools Display Modes

Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 10:35 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC