Post a hidden field value

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rauf ul Hassan

    Post a hidden field value

    I submit a form with a submit button and method of form is Post. When
    I use request.getPara meter() in the next page to get the value of a
    hidden field, I get a NULL value. However when I use Get method it
    works fine, but I have to use the Post method as I dont want a long
    URL as it might exceed the URL length limit.
    By the way sometimes I do get the value but frequency of not getting
    the value is very high.
    Can anyone please help me with this problem?

    Syed Rauf.
  • Andy Fish

    #2
    Re: Post a hidden field value

    From your description, you certainly seem to be doing the right thing.

    I would suspect the problem is either (a) a bug in your client side code
    which is not setting the field as you think, or (b) something in your server
    side which needs POSTs to be treated differently to GETs

    "Rauf ul Hassan" <sraufhassan@ya hoo.com> wrote in message
    news:aa544c0c.0 308200253.6810c a19@posting.goo gle.com...[color=blue]
    > I submit a form with a submit button and method of form is Post. When
    > I use request.getPara meter() in the next page to get the value of a
    > hidden field, I get a NULL value. However when I use Get method it
    > works fine, but I have to use the Post method as I dont want a long
    > URL as it might exceed the URL length limit.
    > By the way sometimes I do get the value but frequency of not getting
    > the value is very high.
    > Can anyone please help me with this problem?
    >
    > Syed Rauf.[/color]


    Comment

    Working...