[Javascript] Reading cookies

James Fox jfox at plus.net
Wed Apr 25 03:31:56 CDT 2001


mmmm cookies..

Okay, I have set up 'UltraBoard' which uses cookies to store the 
user's username.

I want to read the cookie which UltraBoard leaves and display the 
users' nickname on the front of my site. How do I go about this?
The cookie is called 'UB/' and part of the cookie looks like this:
(I want the part which says 'UB-NICKNAME')
Thanks very much.

EMAILjames%40lymm.netcgi.www.lymm.net/cgi-
bin/www.lymm.net/UB/0311876864029418535254969000029412500
*
UB-NICKNAME
James
cgi.www.lymm.net/cgi-
bin/www.lymm.net/UB/
0
3118768640
29418535
2549590000
2
9412500
*
UB-



-- 
| James Fox      Business Critical Web Applications available 
| Web Developer  @ http://www.myopenapps.com 
| PlusNet Technologies Ltd. 
+ ------ Internet Access Solutions @ http://www.plus.net --------- 




More information about the Javascript mailing list