Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

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


in reply to Can a cookie created via CGI.pm 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 CGI.pm 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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://558940]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-24 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found