homepage Welcome to WebmasterWorld Guest from 23.22.29.137
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
javascript in a cookie?
bandwidth-saving
Clinton Labombard




msg:3344252
 10:50 pm on May 19, 2007 (gmt 0)

Is it possible to put variables containing javascript into a cookie? I'm considering different bandwidth-saving methods.

 

mehh




msg:3344778
 6:07 pm on May 20, 2007 (gmt 0)

yes it is possible. you just need to store the javascript in a cookie then eval() it at the other end. however i think caching javascript would probilby work better

Fotiman




msg:3345385
 2:00 pm on May 21, 2007 (gmt 0)

Since cookies are passed with each request/response, you will be using MORE bandwidth if you try to do this.

Clinton Labombard




msg:3345660
 6:30 pm on May 21, 2007 (gmt 0)

Ah, I see. Thank you.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved