Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://558940]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-10-04 23:26 GMT
Find Nodes?
    Voting Booth?
    My preferred way to holiday/vacation is:

    Results (20 votes). Check out past polls.