[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Using Apache and cookies

thedcm

2/18/2005 12:26:00 PM

When you print out cookies, it will come out like
cookieName=cookieValue; path=cookiePath but how would I seperate the
just the cookieValue?

Thanks

1 Answer

Vance A Heron

2/18/2005 3:45:00 PM

0

value = cookie_string.scan(/=(.*);/)

On Fri, 2005-02-18 at 04:29, thedcm@gmail.com wrote:
> When you print out cookies, it will come out like
> cookieName=cookieValue; path=cookiePath but how would I seperate the
> just the cookieValue?
>
> Thanks
>
>