Session.EntityId = REReplaceNoCase(coockie, "^.*EntityId=([^&]*).*$",
"\1")

> -----Original Message-----
> From: Bailey, Neal [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 18 juni 2004 18:21
> To: CF-Talk
> Subject: cookie issues...
>
> Hey guys,
>  
> I am having Cookie issues... I don't use them very much so I
> may be a little lost here.
>  
> I have a cookie called rsAgent that is created using ASP.
>  
> I am trying to pull the values out of this cookie using
> ColdFusion on the same domain.
>  
> When I cfdump the cookie rsAgent I get this:
> NeedUpdate=1&Recognition=Support&EntityID=0000000009&AgentName=Neal
> Bailey&Rank=80&AgentNumber=@@09
>  
> I then want to set the EntityID as a Session variable. But my
> problem is I can't figure out how to grab just the EntityID.
>  
> I guess I need to convert it to a list using & as a delimiter
> or something.
>  
> Any ideas here?... I thought there was an easer way to do
> this when a cookie had multiple values.
>  
> Neal Bailey
> Internet Marketing Manager
> E-mail:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
>  
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to