Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Can a cookie created via be deleted by CGI::SESSION?

by jbrugger (Parson)
on Jul 03, 2006 at 06:33 UTC ( #558940=note: print w/replies, xml ) Need Help??

in reply to Can a cookie created via be deleted by CGI::SESSION?

If you use a module, do you read the documentation?
It's right there on cpan: CGI::Session
delete() Deletes a session from the data store and empties session data fro +m memory, completely, so subsequent read/write requests on the same o +bject will fail. Technically speaking, it will only set object's stat +us to STATUS_DELETED and will trigger flush(), and flush() will do th +e actual removal.
Update: Whoops, i did not read your question well enough, sorry :$.

Yes you can, just re-create the cookie and delete it (but the answer was already given.

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

Replies are listed 'Best First'.
Re^2: Can a cookie created via be deleted by CGI::SESSION?
by newbie00 (Beadle) on Jul 03, 2006 at 07:36 UTC
    Thanks folks.

    I'll give it a try.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://558940]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-03-17 10:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (223 votes). Check out past polls.