Url to login with id and pw

I login with my id and pw to the web page http://www.mycomp.com/DATA/db/index.cfm?action=edit
If I open another browser tab, I need to login with the same id and pw again.
I am writing a program to automate the login process.
What is the url for login with the id and pw passed as parameters?
This is not the right url:
http://www.mycomp.com/DATA/db/index.cfm?action=edit&Proposal_ID=928&Password=xyz12345&submit=Login

The HTTP session is captured as follows:

http://www.mycomp.com/DATA/db/index.cfm?action=act_proposal_edit

POST /DATA/db/index.cfm?action=act_proposal_edit HTTP/1.1
Host: www.mycomp.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.mycomp.com/DATA/db/index.cfm?action=edit
Cookie: pmycomp-id=198.103.196.130.1282935108536569; CFID=32002; CFTOKEN=56751797; __utma=163983085.57742683.1284751128.1284751128.1284751128.1; __utmc=163983085; __utmz=163983085.1284751128.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Content-Type: application/x-www-form-urlencoded
Content-Length: 59
act=editProposal&Proposal_ID=928&Password=xyz12345&submit=Login
HTTP/1.1 200 OK
Date: Thu, 23 Sep 2010 13:38:41 GMT
Server: Apache
Content-Type: text/html;charset=iso-8859-1
Transfer-Encoding: chunked
----------------------------------------------------------
http://www.mycomp.com/css/base-institution.css

GET /css/base-institution.css HTTP/1.1
Host: www.mycomp.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://www.mycomp.com/DATA/db/index.cfm?action=act_proposal_edit
Cookie: pmycomp-id=167.33.55.107.1281364460396256; __utma=214597780.1670341042.1281367441.1285182047.1285186388.34; __utmz=214597780.1285182047.33.12.utmcsr=www.mycomp.com|utmccn=(referral)|utmcmd=referral|utmcct=/DATA/db/index.cfm; JSESSIONID=F5E2381CF84FCA6E53ACAC9878A658DE; __utmc=214597780

Depends how you code your site…
If you are using method=‘post’ to run forms, you will not have any variables in your url. If you use get, you will have variables. It looks like3 you are using ColdFusion, maybe read up how to make a session in CF.

If I use session for my program, is the url I posted correct?

This seems like a session or cookie needs to be started.