On Fri, September 15, 2006 3:17 pm, Craig McClanahan wrote: > Cookies... I have to look again at how cookies work, but I always >> thought that all cookies are shared by all browser windows, so I >> cannot have one cookie assigned to one window, and another cookie >> assigned to another window. > > > You're right ... that's not going to be a useful option.
True in the basic sense of how cookies work... but you could generate some sort of ID yourself for a given window and make it part of the cookie value, so you'd store in the cookie: <windowID>,<cookie_value> Or better yet, as part of the cookie name. Either way, you could then pull up the cookies for the domain, and sift through for the one your interested in. Slightly inefficient, but probably acceptable, and might not get you away from Javascript, but that depends on how you used it (i.e., if you only deal with the cookies server-side programmatically, you should be able to get away with scripting). Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]