http://qs1969.pair.com?node_id=1117388


in reply to perl CGI::Session not deleting the session

Here is my logout.pl script.

If the other two scripts aren't behaving, why blame the logout script?

Also, you're using CGI::Session directly which means you're not using a helper like CGI::Application ... which means you probably got that part wrong :)

see Re: reg access of stored session variable, Re^2: how do I force a specific session, not my own, to end?, cgi101, CGI, Re^7: Perl CGI -disabled, Mojolicious::Lite +and jQuery +AJAX + Mojo::Template, Re: HTML::Template not working

  • Comment on Re: perl CGI::Session not deleting the session

Replies are listed 'Best First'.
Re^2: perl CGI::Session not deleting the session
by chandrakanth (Initiate) on Feb 21, 2015 at 09:53 UTC
    If the other two scripts aren't behaving, why blame the logout script?
    >>If Logout script is working fine, then i should not see the same session id on the newly created Page4, right.

    CGI::Session directly which means you're not using a helper like CGI::Application ... which means you probably got that part wrong :)
    >>I don't see anything wrong in the script, i just followed the CPAN tutorial and crated this. Moreover i just need a simple script to logout the user by deleting a session.