in reply to where is the error ??

First thing I saw was this:

if($IDENTITY = &parseCookie())
I believe that's going to *always* be true, since = is the assignment operator

Trek

Replies are listed 'Best First'.
Re^2: where is the error ??
by Fletch (Bishop) on Jul 22, 2004 at 19:07 UTC

    No, only if parseCookie() always returns a true value. Sometimes an = is really what you mean in a boolean context.

      Sometimes an = is really what you mean in a boolean context.

      And *that* is why I'm only level 4... Maybe level 3 by the time this node gets downvoted :)

      Oh well... sometimes lessons are learned the hard way...

      Trek

      Thanks Monks for your immediate replies.But I got the solution ie., if I pass remval,eventchoice values the cookie is set twice and gets printed but now I changed the code to set cookie after doing all the changes. I appreciate all for your immediate guidance Blazix