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

Cookie crumbs

Status
Not open for further replies.

dreeze

Programmer
Dec 14, 2000
13
US
Im working on a ecommerce website, but i have ran into this glitch.

when u create a cookie and set the maxAge to a certain, that value is constant right (it doesnt change over time does it?)
cause everytime a user clicks on a link or refreshes a page, i try to rejuvenate that cookie by adding a certain number of seconds. but in my case it seems like the cookie dies as if i didnt make any moddifcations.

i simply
myCookie.setMaxAge(original + extended);

any thoughts would be appreciated
thx :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top