Re: CGI::Session file permission?

2005-03-29 Thread Steven Schubiger
On 29 Mar, David Garamond wrote: > Am I right to think that CGI::Session::File driver is insecure? It > creates the session files with a hardcoded 0644 permission, while the > synopsis/examples tell us to store the files in "/tmp". You're right, the chmod mode is ha

CGI::Session file permission?

2005-03-28 Thread David Garamond
Am I right to think that CGI::Session::File driver is insecure? It creates the session files with a hardcoded 0644 permission, while the synopsis/examples tell us to store the files in "/tmp". Regards, dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: CGI::SESSION, mysql, storing session data

2004-11-12 Thread Harley Davidson
But you did not post the correction/solution=) sorry about that. The resolution was to re-read the section of the cgi::session documentation which talks about the data table. "Session data is stored in the form of hash table, in key value pairs" I thought that the first argum

Re: CGI::SESSION, mysql, storing session data

2004-11-12 Thread Chasecreek Systemhouse
On Thu, 11 Nov 2004 13:09:58 -0600, Harley Davidson <[EMAIL PROTECTED]> wrote: > problem solved. reading the module docs like a technical manual instead of > a comic strip seemed to help;) But you did not post the correction/solution=) So, others may be doomed to repeat... -- WC -Sx- Jon

re: CGI::SESSION, mysql, storing session data

2004-11-12 Thread Harley Davidson
problem solved. reading the module docs like a technical manual instead of a comic strip seemed to help;) _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- To

CGI::SESSION, mysql, storing session data

2004-11-12 Thread Harley Davidson
Hello, I have to send this from my hotmail account, I apologize in advance if it's completely unreadable;) I am using CGI::Session, storing the session data in mysql. I am able to store the appropriate values into the id and a_session columns. However, I am also trying to store store

Re: CGI::Session

2004-10-11 Thread Owen
On Mon, 11 Oct 2004 12:03:27 -0500 Bill Stephenson <[EMAIL PROTECTED]> wrote: > So I tried installing it with cpan using this line: > > cpan> install CGI:Session maybe try install CGI::Session -- -- Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For a

CGI::Session

2004-10-11 Thread Bill Stephenson
Could anyone provide a working example of a simple script that uses "use CGI::Session;" I've tried playing with the examples at: http://search.cpan.org/~sherzodr/CGI-Session-3.95/Session/Tutorial.pm And either they are way out of date or I'm just a complete dufus... I

CGI::Session and mysql dbh

2003-10-24 Thread perl
If I store a dbh in a session as in, $session->param("DB",$dbh), what happen when the session expire due to expire setting? Will the dbh still be in memory or cleaned up? -thanks - eMail solutions by http://www.swanmail.com -- To unsubscribe, e-mail: [E

Determine return value of new CGI::Session(...)

2003-10-21 Thread perl
How can I determine if the return value if it is a new or current session? $session=new CGI::Session("driver:File", $cgi, {Directory=>'/tmp'}); This calls return a $session but I can't determin in the program if it was new or current. I'm looking for something

Apache::Session vs CGI::Session?

2003-10-20 Thread perl
Can someone comment on some advantages/disadvantages? Does opening a new browser causes a new session in either of the two? thanks - eMail solutions by http://www.swanmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: cgi session

2003-01-08 Thread Will
Here is a tutorial (written for the CGI::Session module) with a section on how to do membership style sites. http://search.cpan.org/author/SHERZODR/CGI-Session-3.11/Session/CookBook.pm#MEMBERS_AREA The basic idea is to set a subroutine (included in the tutorial) at the beginning of each

Re: cgi session

2003-01-08 Thread Vitaliy Babiy
[EMAIL PROTECTED]... > > How can I check cgi session? mmm .. maybe better I explain like this: > > I just want to make a 'secure site' that need username and password. So, the first page of my site > would be "fill in you username and password", for example, it will

Re: cgi session

2003-01-08 Thread Vitaliy Babiy
[EMAIL PROTECTED]... > > How can I check cgi session? mmm .. maybe better I explain like this: > > I just want to make a 'secure site' that need username and password. So, the first page of my site > would be "fill in you username and password", for example, it will

cgi session

2002-12-09 Thread Jeremiah Foster
> I just want to make a 'secure site' that need username and password. The easiest way to do this is probably not in perl. I recommend putting an ".htaccess" file in the directory where you have the file that you want password protected. This is a good method if you do not have the ability to c

Re: cgi session

2002-12-05 Thread Christopher G Tantalo
Admin-Stress wrote: > Hi, > > How can I check cgi session? mmm .. maybe better I explain like this: > > I just want to make a 'secure site' that need username and password. So, the first >page of my site > would be "fill in you username and password&q

Re: cgi session

2002-12-05 Thread fliptop
On Thu, 5 Dec 2002 at 10:39, Admin-Stress opined: [snip] A:I just want to make a 'secure site' that need username and password. So, the first page of my site A:would be "fill in you username and password", for example, it will be placed here : A: A: http://www.mydomain.com/login.html A: A:After

cgi session

2002-12-05 Thread Admin-Stress
Hi, How can I check cgi session? mmm .. maybe better I explain like this: I just want to make a 'secure site' that need username and password. So, the first page of my site would be "fill in you username and password", for example, it will be placed here : http://www.myd

Re: Saving CGI session to DB

2002-10-03 Thread Felix Geerinckx
on Wed, 02 Oct 2002 23:37:54 GMT, Kevin wrote: > How can I save a CGI session to a db. I have only seen an example to a > filehandle in the documentation. http://search.cpan.org/author/JBAKER/Apache-Session-1.54/Session.pm -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Saving CGI session to DB

2002-10-02 Thread Kevin
Hello, How can I save a CGI session to a db. I have only seen an example to a filehandle in the documentation. $query->save(FILEHANDLE) Thanks. --Kevin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]