plainblack.com
Username Password
search
Bookmark and Share

    

Can I do this with a cookie?

User peterkoning
Date 6/17/2009 11:06 am
Views 446
Rating 0    Rate [
|
]
Previous · Next
User Message
peterkoning

I'd like to do the following (pseudo-code):

 

If cookie not present in visitor's browser then

{

   set the cookie in visitor's browser

   do some other stuff (javascript code)

};

I want this to be permanent (as much as cookies can be) - not once per session.

I assume this is part of WG already but I don't know where to look. My WG site is hosted by Plainblack.

Thanks,

Peter

 

--- (Edited on 6/17/2009 9:06 am [GMT-0700] by peterkoning) ---



Back to Top
Rate [
|
]
 
 
bartjol

I do see some yui related cookie docs on my server:

/data/WebGUI/www/extras/yui/docs/Cookie.js.html
/data/WebGUI/www/extras/yui/docs/YAHOO.util.Cookie.html

maybe you should check those

--- (Edited on 3-August-2009 14:07 [GMT+0200] by bartjol) ---



Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved