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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookies: Stability

Status
Not open for further replies.

webmigit

Programmer
Joined
Aug 3, 2001
Messages
2,027
Location
US
OK... I know that cookies are more easily stabilized than session variables because they are a client variable, not a server variable and thus two users can't write simultaneously and crash one another's cookie crumb trail..

Here's the question though..

I've got two sites, both I expect to be popular quickly, one uses sessions and cflock.. I CFLOCK only in the appropriate places, another uses cookies and encrypt()'ed passwords.. I want to know.. am I going to get reliable performance from the cookies.. assuming the database feeds data fast enough, will cookies give me.. well, I never pass up a chance for agood pun.. bad indigestion?

Thanks,
Tony Hicks
 
Hey Tony,

I don't think you'll have any trouble with them. I have a client whose site I built in CF using cookies and session variables and it has no performance problems. It currently does about 2 million hits a day with between 10,000 and 15,000 visitors. We assign cookies to every visitor and have never had any trouble with them.

Good luck,
GJ
 
Oh.. hey if you wanna send me some of that traffic, that'd be fine :)..

LOL anyway.. thanks, you get a purple star for your post.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top