can we add additional information to cookies apart from these...
thanks
melinate wrote:
>
> I thought that cookies *always* had a value. Here is the javascript for
> "setCookie()" in my AppFuse 1.8 app.
>
> /* This function is used to set cookies */
> function setCookie(name,value,expires,path,domain,secure) {
> document.cookie = name + "=" + escape (value) +
> ((expires) ? "; expires=" + expires.toGMTString() : "") +
> ((path) ? "; path=" + path : "") +
> ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");
> }
>
>
> That looks to me like "name" and "value" are required and the rest of the
> arguments are optional.
>
> HTH,
> Nathan
>
>
>
> ----- Original Message -----
> From: "jithesh" <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Thursday, November 15, 2007 1:13:31 AM (GMT-0800)
> America/Los_Angeles
> Subject: [appfuse-user] Doubt on Cookies
>
>
> Hi
>
> I am developing a new web app using appfuse 1.9.4. I have to do some
> operation on cookies which is absolutely new to me. My doubt is, how many
> parameters can we pass on 'setCookie' method. I read that normally name of
> the cookie, path , domain and expires time are the parameters. I would
> like
> to store some additional value in the cookie while setting it. Is it
> possible? if yes How..
>
> Please provide suggestions to help me on this.
>
> Thanks
> Jithesh
> --
> View this message in context:
> http://www.nabble.com/Doubt-on-Cookies-tf4810657s2369.html#a13764164
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Doubt-on-Cookies-tf4810657s2369.html#a13778286
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]