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.
How to make my index.cfm keep track of the fact that I had already logged in?
Any hint or related tutorial will be much appreciated.
ColdFusion version is 6.1.
I think I should do it with session variables so I am looking at:
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
