Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8833735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:51:04+00:00 2026-06-14T08:51:04+00:00

I want to retrieve value of a hidden filed which changes with every request

  • 0

I want to retrieve value of a hidden filed which changes with every request send to server. For e.g when i first access the page the sessid=90334 and at the next page its like sessid=78204. The pagesource contains a tag like this <input type="hidden" name="sessid" value="69529">. I know how to read the response. I am currently using following code to read the response

 BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));

        StringBuilder response = new StringBuilder();
        String line;
        while ((line = rd.readLine()) != null) {
            response.append(line);
        }

Please tell me how can i read the changed value with each request?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:51:06+00:00Added an answer on June 14, 2026 at 8:51 am

    If you are developing asp.net application (you haven’t specified MVC or asp.net), and you want to access to a hiddenfield value on server side, you should to use runat=”server” attribute. Like this:

    <input type="hidden" runat="server" name="sessid" value="69529">
    

    or you can use:

    <asp:hiddenfield runat="server" id="sessid" value="69529">
    

    on server side:

    var x = sessid.Value
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a popup window from which I want to retrieve a value, I
I have a list of maps from which I want to retrieve the value
I want a scenario in which I will set some value of a hidden
I want to retrieve the value of a parameter on the requested JSP called
I want to retrieve property value in jquery function and want to set it
I can retrieve a Cookie value by: <?php $cookie=$_COOKIE[cookieName]; ?> Now i want to
basically i want to hold a parameter that retrieve value from $.post() call like
I want to retrieve the value converted to array and then to object.. $input
My GNU/Linux machine is connected to a DHCP. I want to retrieve the value
I am using Kendo menu in my project. I want to retrieve id value

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.