1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

YouTube Question

Discussion in 'General Programming Chat' started by cyrix, Jul 20, 2013.

  1. cyrix

    cyrix Junior Member

    Joined:
    Sep 19, 2008
    Messages:
    179
    Likes Received:
    61
    Occupation:
    Full Time Internet Marketer\Developer
    Location:
    United States
    Trying to find out where youtube is getting the value for the session_token field in the post comment form on a videos page. I'm almost sure its set somewhere in javascript but can't find where. Anyone have any ideas?

    HTML:
    <form class="comments-post has-focus" method="post" action="/comment_servlet?add_comment=1" data-initialized="true">
    <input type="hidden" name="session_token" value="{REMOVED}"> <--- This is the field
    <input type="hidden" name="video_id" value="1nstE0EU4_w">
    <input type="hidden" name="form_id" value="">
    <input type="hidden" name="source" value="w">
    
     
  2. small buddy

    small buddy Regular Member

    Joined:
    May 21, 2013
    Messages:
    254
    Likes Received:
    178
    try this website to solve your problem:http://www.w3schools.com/.this give complete description about HTML5 and related scripting laguages.


    qsera