Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question about creating cookies

Status
Not open for further replies.

csphard

Programmer
Apr 5, 2002
194
US
I am trying to understand how some cookies were created. The application that I am looking at has this simple function to create a cookie

function setCSubjectId (value)
{
setCookie ("CSUBJECTID", value, null, "/");
}

My confusion is that I am reading in tutorials that the statement document.cookie is used to create cookies.
I have search this entire application but do not see this statement.

So is setCookie and implied function that is accessible using javascript

Howard Hardaway
 
I think you will have a SetCookie function somewhere, if you look at the source code of the page and its not explicitly declared there, look for included .JS files as it may be in there.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top