Welcome to WebmasterWorld Guest from 54.221.30.139

Forum Moderators: open

Message Too Old, No Replies

javascript in a cookie?

bandwidth-saving

     

Clinton Labombard

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

5+ Year Member



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

mehh

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

5+ Year Member



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

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

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



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

Clinton Labombard

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

5+ Year Member



Ah, I see. Thank you.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month