kuchi 0 Newbie Poster

Apache is running in UNIX box, and we have configured folder path in config file and we are accessing python code from that folder.

In the python code, we have two methods new_page() and access_form_elements(),
new_page() -- print new HTML page with two form elements and method=POST and action=same .py
access_form_elements() -- Access those elements and send them to new HTML page.

in the main()
form=cgi.FieldStorage()
fn=form.value()
ln=form.value()

When I use method='GET', then the values "fn" and "ln" are getting but when I use POST then they are failing.

What is the difference in coding when I use POST than GET? DO I missing anything?
Please advice