• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

alernate for session??

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

In my application i have a series of 4 pages,in which i have to retrieve a value user entered on first page , on the 3rd page,for which i am presently setting the field to session and retrivin it on the 3rd page.
But idont want to use session..is there any other way to use it?
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can use hidden fields.
i.e. <input type="hidden" ... > or <html:hidden ... >

You have to populate and read from the hidden fields just as you would with any other input fields.
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
When you submit your first page, you can set the value you want in the 3rd page to the form if you are using the same form for the 3rd page. If your form is in request scope, when you come from second page , make sure that its available to pass to 3rd page.For this when you submit your 2nd page, you need to check whether the value is available or not , if yes, set back to the form.
This is my idea.
 
God is a comedian playing for an audience that is afraid to laugh - Voltair. tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic