Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: always logged in with CGI::Session

by bibliophile (Parson)
on Apr 03, 2006 at 16:15 UTC ( #540970=note: print w/ replies, xml ) Need Help??


in reply to Re^2: always logged in with CGI::Session
in thread always logged in with CGI::Session

Sorry, I've been out of the office for the last week :-)

I'm only guessing here... but take a look at: session_config. Maybe you want to use that in your init_session routine, rather than using CGI::Session->name()?

Let me know if that changes anything - I'm quite curious (as I'll be needing something like this myself in a while!)

-bib

-- WARNING: You are logged into reality as root.


Comment on Re^3: always logged in with CGI::Session
Re^4: always logged in with CGI::Session
by boboson (Monk) on Apr 05, 2006 at 22:07 UTC
    I am not sure yet, haven't done to much testing. But it seems to work. I removed the name and the session header calls.
    sub init_session { # application object my $self = shift; my $name = shift; # change name from CGISESSID to shorter sid #CGI::Session->name($name); # init session object using CGI::Application::Plugin::Session my $session = $self->session; # send session to header #$session->header(); }
      Interesting. It might be worth asking the author of C::A::Plugin::Session about that.

      -Bib

      -- WARNING: You are logged into reality as root.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2014-07-29 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (214 votes), past polls