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

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!)


-- WARNING: You are logged into reality as root.
  • Comment on Re^3: always logged in with CGI::Session

Replies are listed 'Best First'.
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.


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://540970]
[Cosmic37]: I was using gneural code in C and it was interesting but did not have back propagation for neural networks
[corenth]: Cosmic, poking at it, but not really.
[Cosmic37]: I read that its possible to use the FANN library with Perl so I might try that now...
[corenth]: i have a question. I used map{ blah();blah(); blah();}@stuff; and it used up a ton of memory vs. the for(@stuff){} equivalent. What gives? (if anyone knows)
[Cosmic37]: FANN also has LGPL license which I like and its supposed to be quite a capable library from what I read
[corenth]: Cosmic, that sounds interesting. What is FANN (I could search it if I weren't so lazy about it)?
[Cosmic37]: how big was @stuff corenth?
[Cosmic37]: Fast Artificial Neural Network (FANN) is cross-platform open source programming library for developing multilayer feedforward Artificial Neural Networks

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2018-02-20 18:15 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (274 votes). Check out past polls.