Re: session expiration

2000-11-20 Thread Trey Connell
v 2000, Bill Moseley wrote: At 03:00 PM 11/20/00 -0600, Trey Connell wrote: Is there anyway to know that a user has disconnected from their session through network failure, power off, or browser closure? How is that different from just going out for a cup of coffee or opening a new browse

Re: session expiration

2000-11-20 Thread Bill Moseley
ron then removes any that are older than some preset time and *poof* they are then logged out. They try to access again and you see they have a cookie, yet are logged out and you say "Sorry, you session has expired". So basically I want to set a cookie that will allow them to enter the

Re: session expiration

2000-11-20 Thread Michael Peppler
the user out from the first session at that point. Be careful of basing the client information on the IP address. AOL and a few other ISPs use rotating proxies so the client IP address can change from one request to the next. Michael -- Michael Peppler - Data Migrations Inc. - [EMAIL PROTECTED] http

Re: session expiration

2000-11-20 Thread Trey Connell
e database. That's where cron comes in. Just make your flag a time, and update it each request. cron then removes any that are older than some preset time and *poof* they are then logged out. They try to access again and you see they have a cookie, yet are logged out and you say "Sorry,

Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread Daniel Little
Has anyone had any problems with failure to write locks on Apache:ASP under Solaris or any other platform? Getting quite a number of the following in the log files... [Tue Nov 7 10:23:11 2000] [error] [asp] [6708] [error] can't write lock

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread G.W. Haywood
Hi there, On Tue, 7 Nov 2000, Daniel Little wrote: Has anyone had any problems with failure to write locks on Apache:ASP under Solaris or any other platform? I just grepped one of my logfiles (a small one, about 70 megabytes:) and there was no occurrence of this message. Linux 2.2.16, Perl

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread Daniel Little
From: "G.W. Haywood" [EMAIL PROTECTED] On Tue, 7 Nov 2000, Daniel Little wrote: Has anyone had any problems with failure to write locks on Apache:ASP under Solaris or any other platform? I just grepped one of my logfiles (a small one, about 70 megabytes:) and there was no

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread G.W. Haywood
Hi Daniel, On Tue, 7 Nov 2000, Daniel Little wrote: we're on a Sparc - I presume yours is Intel? Yes. Er, well, AMD K6-2/450 in that case. All I can say is 'use strict;' Like it says in the Guide :) Anyway, thanks for the response. I think we're going to have to build a load test

Re: Apache::ASP/Solaris 2.7 - session locking issues

2000-11-07 Thread Joshua Chamas
Daniel Little wrote: Has anyone had any problems with failure to write locks on Apache:ASP under Solaris or any other platform? Getting quite a number of the following in the log files... [Tue Nov 7 10:23:11 2000] [error] [asp] [6708] [error] can't write lock

how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Enrique I . Rodriguez
Maybe a silly question... how do I store/retrieve a hash through Apache::Session? This doesn't work... # retrieve %table=$session{table}; ... # store $session{table}=%table; What's my fault?

Re: how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Chris Winters
* Enrique I.Rodriguez ([EMAIL PROTECTED]) [001103 12:41]: Maybe a silly question... how do I store/retrieve a hash through Apache::Session? This doesn't work... # retrieve %table=$session{table}; ... # store $session{table}=%table; What's my fault? You can only store/read

Re: how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Tim Bishop
On Fri, 3 Nov 2000, Enrique I.Rodriguez wrote: Maybe a silly question... how do I store/retrieve a hash through Apache::Session? store hash references, not hashes. This doesn't work... # retrieve %table=$session{table}; $tableref = $session{table}; ... # store $session{table

Re: how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Tom Harper
Enrique-- You need to store/retrieve it as a ref- \%my_hash Tom At 04:36 PM 11/3/00 +, Enrique I.Rodriguez wrote: Maybe a silly question... how do I store/retrieve a hash through Apache::Session? This doesn't work... # retrieve %table=$session{table}; ... # store $session{table}=%table

Re: how do I store/retrieve a hash through Apache::Session?

2000-11-03 Thread Randy Harmon
Once you realize that %session entries have to be scalars (references) as described by other responses, be sure when you change entries in the sub-hash that you tell the top-level session that the data's been changed (it won't realize it unless you change one of its scalars). Check the docs

Session data disappearing

2000-10-31 Thread cbell
Hi everyone, I'm sure this is a simple problem... Im using Session.pm to track information between httpd requests. However, when Istore some information in the session, it is gone when I try to retrieve it later. I've noticed the following things: when I tie to the session I use the command

Re: Session data disappearing

2000-10-31 Thread Simon_Wilcox
Hi Chris, welcome on board ! Are you changing data structures e.g. a element in a hash of hashes ? Apache::Session has documented behaviour where it only writes back changes if the top level variables have changed. If you are changing something deeper

[Fwd: Session data disappearing]

2000-10-31 Thread cbell
ript) it's just not there. [EMAIL PROTECTED] wrote: Hi Chris, welcome on board ! Are you changing data structures e.g. a element in a hash of hashes ? Apache::Session has documented behaviour where it only writes back changes if the top level variables have chang

Re: Session data disappearing

2000-10-31 Thread Simon_Wilcox
Copy to Bcc Fax to Subject Re: Session data disappearing I read that in the manual, but was a little unsure of what it meant. I understand the concept just not how to implement it. Right now I'm just storing

Session data disappearing

2000-10-31 Thread cbell
I deleted the Sessions database and recreated it in Postgres and now the session data is staying!!

Problem with Apache::Session::DBI

2000-10-26 Thread Alberto Mateos
I should explain better: Once, in one of my mod_perl files, I did this trying to delete all the data from a session: tied(%session)-delete I know is wrong. Anyway since I did this I can't request any page from the server. I removed the code from where it was. The error I see

Problems with Apache::Session::DBI

2000-10-25 Thread Alberto Mateos
Hi! I get this message in my error_log with using Apache::Session::DBI: [Wed Oct 25 17:37:24 2000] [error] Can't locate object method "populate" via package "Apache::Session::DBI" at /usr/lib/perl5/site_perl/5.005/Apache/Session.pm line 368. This occurs after I execu

Re: Problems with Apache::Session::DBI

2000-10-25 Thread G.W. Haywood
Hi there, On Wed, 25 Oct 2000, Alberto Mateos wrote: I've re-installed apache and mod_perl but apache don't works (Interval server error). That's "InterNal server error" and it probably means Apache is working fine, but your Perl/DBI stuff has a problem. I'd remove the DBI stuff and make

Apache::Session - kludgy workaround?

2000-10-04 Thread Ian Mahuron
If I repeatedly write to: $session{foo}{bar} I find that I have to do something like: $session{smack}++; to get it to write when the hash is untied. Is there a better way to do this? TIA ian

RE: Apache::Session - kludgy workaround?

2000-10-04 Thread Jerrad Pierce
Reading the directions ;-) Apache::Session doesn't do any deep checking, if a top level doesn't value doesn't change it may not detect the change. This is why your workaround works... The offically recommend workaround (I believe) is to keep a timestamp as a top level value in the hash

RE: Apache::Session - kludgy workaround?

2000-10-04 Thread Jeffrey W. Baker
On Wed, 4 Oct 2000, Jerrad Pierce wrote: Reading the directions ;-) Apache::Session doesn't do any deep checking, if a top level doesn't value doesn't change it may not detect the change. This is why your workaround works... The offically recommend workaround (I believe) is to keep

[ RFC ] A Session Manager module

2000-09-10 Thread Greg Cope
Dear All As some of you are aware for the past few weeks I have been working on a Session Manager style module. It works (ish ;-), I know of a few issues (that may not be important enough to change), but it works in my developement environment. What do I do with it now ? I think it may fit

Re: [ RFC ] A Session Manager module

2000-09-10 Thread Jules Cisek
Sounds interesting. Is this module just managing the sessionID or also the session data? i.e. is the manager capable of storing complex objects (via something like Storable or Data::Dumper)? Will you provide hooks "caching and DB abstraction" layers so that the developer c

Re: [ RFC ] A Session Manager module

2000-09-10 Thread Greg Cope
Jules Cisek wrote: Sounds interesting. Is this module just managing the sessionID or also the session data? i.e. is the manager capable of storing complex objects (via something like Storable or Data::Dumper)? Will you provide hooks "caching and DB abstraction"

%session and local * problem

2000-09-08 Thread Joseph Yanni
I am currently using Apache::Session 1.53 and using %session from two other PerlHandler's beside HTML::Mason. I am having the problem of %session hash not being cleared (returns old data). FYI, at the end of a request, I 'untie %session'. On logout, I perform the 'tied(%session)-delete

Re: Apache::Session and performance question

2000-09-01 Thread Greg Cope
Perrin Harkins wrote: On Mon, 28 Aug 2000, Chris Brooks wrote: I went back through the documentation on Apache::Session, Apache::Session::DBIStore, and Apache::DBI, and I haven't found a problem in the way we have implemented this. Does anyone else have suggestions, or has anyone else

Fast clicks in Apache::Session causing loss

2000-09-01 Thread garyc
Howdy! I'm currently developing a mod_perl application which connects to a Postgres (soon to be Oracle) backend through dbiproxy. I'm using Apache::Session::Postgres, and currently only track one thing... the number of times a particular session has clicked anything. (Mainly as a test) In any

Announce: Apache::Session 1.53

2000-09-01 Thread Jeffrey W. Baker
Apache::Session 1.53 has been released. Fixed in this release: * Three bugs in the file handling code found by Erik Rantapaa and Bart Shaefer. * A possible security vulnerability involving bogus session IDs like '../../../../../etc/passwd'. Don't worry, I wasn't able to actually think

Re: Apache::Session and performance question

2000-08-28 Thread Chris Brooks
Hi again to the list, I went back through the documentation on Apache::Session, Apache::Session::DBIStore, and Apache::DBI, and I haven't found a problem in the way we have implemented this. Does anyone else have suggestions, or has anyone else experienced a similar performance hit? Thanks

Re: Apache::Session and performance question

2000-08-28 Thread Perrin Harkins
On Mon, 28 Aug 2000, Chris Brooks wrote: I went back through the documentation on Apache::Session, Apache::Session::DBIStore, and Apache::DBI, and I haven't found a problem in the way we have implemented this. Does anyone else have suggestions, or has anyone else experienced a similar

Re: Apache::Session and performance question

2000-08-28 Thread Chris Brooks
Perrin, Thanks for the replies. Adding an index made a significant improvement on performance -- it's still three or four times slower than without Apache::Session, but much faster than without the index. Thanks again, Chris Perrin Harkins wrote: On Mon, 28 Aug 2000, Chris Brooks wrote: I

Apache::Session and performance question

2000-08-21 Thread Chris Brooks
::Session appears to be the culprit. I can't believe that the use of this module should have so great an effect. We have to be doing something incorrectly. Any advice would be greatly appreciated. package Carescout::SessionHandler; use strict; use Apache; use Apache::Session::DBI; sub handler

Re: Apache::Session and performance question

2000-08-21 Thread Perrin Harkins
and benchmarking (rinse, repeat), Apache::Session appears to be the culprit. I can't believe that the use of this module should have so great an effect. We have to be doing something incorrectly. Any advice would be greatly appreciated. You are using Apache::DBI, right? Going to the database

Adding values to Session file

2000-08-18 Thread Differentiated Software Solutions Pvt. Ltd
Hi, We have a site where we create a session file on login and tie some values. After a few page visits we want to add more values to the session file again using tie. We find that only the first set of values get added. Subsequent values do not get added to this file. Can somebody tell us

RE: Adding values to Session file

2000-08-18 Thread Jerrad Pierce
Not with so little information... Afew ideas though: I assume you are speaking of Apache::Session? Are you adding values lower than the top level? The man page clearly states no deep checking is done to determine if modifications have been made... Have you tried explicitly untie'ing

Re: Adding values to Session file

2000-08-18 Thread Bogomolnyi Constantin
Hello , Your problem is an classic example of an incorrect implementation of tie function In fact the session acts like this : 1)You tie your hash (INDIRECTLY linket to the database) 2)You put your data in the hash but it still in memory because it is quite stupid and slow to put

Re: Session manager(s)-how to set an outbound session ?

2000-08-16 Thread Ken Williams
Bill Moseley wrote: FWIW -- I'm using a modified version of Ken Williams' Apache::AuthCookie to handle session control via cookies or munged URLs. I originally wanted to use his custom login script instead of the pop-up browser login, but I had clients that don't have cookies enabled. So I

Re: Session manager(s)-how to set an outbound session ?

2000-08-15 Thread Bill Moseley
At 11:24 PM 08/14/00 +, Greg Cope wrote: I'm writing a Session-Manager (transhandler) i.e deals with getting a session id from cookies, uri, or query args, and sets one and redirects if neccessary. This is meant to compliment Apache::Session - in that you use Apache::Session to store your

Session manager(s)-how to set an outbound session ?

2000-08-14 Thread Greg Cope
Dear All I'm writing a Session-Manager (transhandler) i.e deals with getting a session id from cookies, uri, or query args, and sets one and redirects if neccessary. This is meant to compliment Apache::Session - in that you use Apache::Session to store your session data. Thanks to Mat and Eric

Apache::Session manpage

2000-08-11 Thread Kenneth Lee
With 1.50 Apache::Session::DBI is gone, but I still see it in the manpage. I was just confused by this a few hours. Is it already scheduled for removal? I'm using 1.51. -kenneth

Make test fails for Apache::Session

2000-08-08 Thread Stuckey, Roger
Hi, I'm not sure if this is the correct forum for this, but here goes ... I can't seem to get Apache::Session installed on our SGI-Irix box. The MySQL test fails when trying to create a new database, as shown by the build output below. Does anyone know what I am doing (or not doing) wrong? I

Re: Make test fails for Apache::Session

2000-08-08 Thread Ajit Deshpande
On Wed, Aug 09, 2000 at 08:51:08AM +1000, Stuckey, Roger wrote: I can't seem to get Apache::Session installed on our SGI-Irix box. The MySQL test fails when trying to create a new database, as shown by the build output below. Does anyone know what I am doing (or not doing) wrong? I have

Re: Session woes -Anyone Please help.????

2000-08-07 Thread Nigel Hamilton
HI Jitesh, I do exactly the same thing ... but I pass session variables using a combination of methods. Inserting a hidden field into subsequent pages: input type = "hidden" name = "sessionid" value = "1232139102831" Or

Re: Session woes -Anyone Please help.????

2000-08-07 Thread j e f f__s a e n z
You could also pass it as the path_info for the url if you wanted to make it somewhat more discrete. The eagle book also has a good section on session ids. Nigel Hamilton wrote: HI Jitesh, I do exactly the same thing ... but I pass session variables using a combination of methods

Re: Session woes -Anyone Please help.????

2000-08-07 Thread Perrin Harkins
On Mon, 7 Aug 2000, Jitesh Kumar wrote: All I want is to store the generated key in the session variable so that I could retrieve the same on the subsequent page user visits for authentication purpose. I can't rely on client side cookies as they are not full proof. If you don't want to use

Session woes -Anyone Please help.????

2000-08-06 Thread Jitesh Kumar
Hi, I have a login form where the visitor enters the UserID and Password. After authenticating from the database, I generate a unique key (some encrypted text) for every user. All I want is to store the generated key in the session variable so that I could retrieve the same on the subsequent

Apache::Session::Lock and WinNT

2000-08-03 Thread olivier ROYON
Hello all, I have a problem using "acquire_write_lock" under NT4.0, httpd does not repond after this call. There is no erro in error_log. httpd seems to wait something. Apache_1.3.12 Perl_5.6.0 Apache-Session-1.51 Thank you for help Olivier

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Jeffrey W. Baker
people. There are still people who get confused about the original Apache::Session module that was replaced by Jeff's. people who get confused by name changes should not be catered to. I wasn't following this thread, because the subject was "template kit." Now I shall reply all i

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Jerrad Pierce
2) The name change should happen. However, there is already a Persistent:: set of classes, that is somewhat similar to Apache::Session. For example, it implements LDAP, MySQL, Oracle, Sybase, mSQL, and File storage. These classes use all object calls e.g. $persistent-add_attribute(). So

Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Ilia Lobsanov
I just upgraded from Apache::Session 1.03 to 1.52, resulting in breaking all our dependent code. The problem is that we use our own package which inherits Apache::Session as follows: --- package MPL::NullSession; use strict; use vars qw(@ISA $VERSION); $VERSION = '1.00'; @ISA = qw(Apache

RE: was Re: template kit..... - now session handling

2000-08-02 Thread Perrin Harkins
On Wed, 2 Aug 2000, Jeffrey W. Baker wrote: 2) The name change should happen. However, there is already a Persistent:: set of classes, that is somewhat similar to Apache::Session. For example, it implements LDAP, MySQL, Oracle, Sybase, mSQL, and File storage. These classes use all object

Re: Is there a module for getting / setting a Session-ID

2000-08-02 Thread Greg Cope
[EMAIL PROTECTED] wrote: In a message dated 7/30/00 7:33:41 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: And, on top of that, I have emilinated session hijacking (with a Back Button Breaking method). Can you enlighten me ? A security method that will redirect the user

disregard RE: Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Ilia Lobsanov
Please disgregard this problem as I have fixed it. I apologise for any inconvenience. ilia. -Original Message- From: Ilia Lobsanov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2000 12:18 PM To: [EMAIL PROTECTED] Subject: Apache::Session upgrade problems and Inheritance

Re: Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Dave Baker
You may need to add LockDataSource, LockUserName and LockPassword to your $dbinfo hashref. This fixed the problem for us when we upgraded to the later Apache::Session. Dave On Wed, Aug 02, 2000 at 12:17:57PM -0400, Ilia Lobsanov wrote: I just upgraded from Apache::Session 1.03 to 1.52

Re: was Re: template kit..... - now session handling

2000-07-31 Thread Drew Taylor
Greg Cope wrote: I posted about a generic URL mangeler / cookie session handler a few days ago. Allthough this is not rocket science - I've writen a URI transhandler that will put the session id into pnotes, and if cookies are off will do a redirect to itself with a munged URL

Re: Apache::Session : DBI-Too many connections

2000-07-31 Thread remco
than mod_perl connecting to MySql in which case you just need to increase its max_connections parameter to a bigger number. Hi, Another possibility is you do not disconnect your connections properly... I had this problem once. I don't suppose Apache::Session does that, but it might be caused

RE: was Re: template kit..... - now session handling

2000-07-31 Thread Perrin Harkins
, but changing namespace on CPAN always confuses some people. There are still people who get confused about the original Apache::Session module that was replaced by Jeff's. - Perrin

Re: was Re: template kit..... - now session handling

2000-07-30 Thread Greg Cope
Joshua Chamas wrote: Greg Gerald, I wanted to bring an important issue that came up with Apache::ASP, how will you deal with search engines indexing the session-ids in the URL? In Apache::ASP, this is handled a couple of ways, first the session-id is stored as a query string param

Re: Is there a module for getting / setting a Session-ID

2000-07-30 Thread Greg Cope
don't need a Secure Url Munging). my methodolgy at the moment sessions everything within a give uri or matched uri (if I do a simple regex match). And, on top of that, I have emilinated session hijacking (with a Back Button Breaking method). Can you enlighten me ? It was a hassle, but I

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Gerald Richter
I've looked thorugh Apache::Asp session code and saw your args method. We should of course use anything that Joshua already has figured out. Maybe the module could be written in a way that Apache::ASP can take use of it. That would be the best thing from my point of view! Ian Kallen

Re: was Re: template kit..... - now session handling

2000-07-30 Thread Leon Brocard
Gerald Richter sent the following bits through the ether: Jeffery don't want to build something like this into Apache::Session. He always expressed that Apache::Session is just a framework for storing session data! If this is still the case then I think a name change is in order... Leon

RE: was Re: template kit..... - now session handling

2000-07-30 Thread brian moseley
On Sun, 30 Jul 2000, Gerald Richter wrote: Jeffery don't want to build something like this into Apache::Session. He always expressed that Apache::Session is just a framework for storing session data! it would be nice if we could agree on some vocabulary relating to 'session management

Re: was Re: template kit..... - now session handling

2000-07-30 Thread Greg Cope
Ian Kallen wrote: Today, Greg Cope [EMAIL PROTECTED] frothed and...: I posted about a generic URL mangeler / cookie session handler a few days ago. Allthough this is not rocket science - I've writen a URI transhandler that will put the session id into pnotes, and if cookies are off

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Gerald Richter
So therefore would it not be easy to modify your code to check for a pnotes entry called session and cookies ? Yes, of course this would be very easy If session is set then use that. If cookie is set (ie 1) then assume cookies are on! else if you have a session and cookies are off

RE: was Re: template kit..... - now session handling

2000-07-30 Thread Gerald Richter
If you do this, build it into Apache::Session! Leverage the existing storage mechanisms built in there already (file, DBI, etc). My only other feature requests for this: Jeffery don't want to build something like this into Apache::Session. He always expressed that Apache::Session

Re: Is there a module for getting / setting a Session-ID

2000-07-30 Thread JoshNarins
In a message dated 7/30/00 7:33:41 AM Eastern Daylight Time, [EMAIL PROTECTED] writes: And, on top of that, I have emilinated session hijacking (with a Back Button Breaking method). Can you enlighten me ? A security method that will redirect the user to a relogin page

Re: Is there a module for getting / setting a Session-ID

2000-07-29 Thread Greg Cope
jeff wrote: The mod_perl eagle book has a good section on saving state information using session ids. And it's not necessarily mod_perl based. Thanks Jeff. I've some code based on parts of the state section - speifically the ideas of URL mungling. Greg -- Jeff Saenz [EMAIL PROTECTED]

was Re: template kit..... - now session handling

2000-07-29 Thread Greg Cope
Gerald Richter wrote: I sure think that this template discussion is intresting, forms autofill is one thing but another thing that i think would be neat is if the kit could do session handling, like the Apache::ASP. Can embperl or mason do this fancy stuff. Embperl can do

RE: was Re: template kit..... - now session handling

2000-07-29 Thread Gerald Richter
module that handles uri translation and cookie checking and so on. I always like more to use existing solution, then reinventing the wheel (that's one reason why I use Apache::Session in Embperl). Embperl has some special needs, because it makes the session handling totaly transparent

Re: was Re: template kit..... - now session handling

2000-07-29 Thread Greg Cope
be happy if there is an standalone module that handles uri translation and cookie checking and so on. I always like more to use existing solution, then reinventing the wheel (that's one reason why I use Apache::Session in Embperl). As far as I am aware (please someone prove me wrong!) the does

RE: was Re: template kit..... - now session handling

2000-07-29 Thread Gerald Richter
has to be done once) and monitor wherever somebody is writing to this hash. Only in the case that a element of the hash is modified, Embperl generates a session id (actually Apache::Session does it) and sends the cookie to the browser. Therefore I don't have to configure anything to use session

Re: Is there a module for getting / setting a Session-ID

2000-07-29 Thread JoshNarins
). And, on top of that, I have emilinated session hijacking (with a Back Button Breaking method). It was a hassle, but I liked the idea that my site supported Cookies and URL Munging, and also made it more secure than the major etailers. Unfortunately (?) my design is very tucked away inside my

Re: was Re: template kit..... - now session handling

2000-07-29 Thread Ian Kallen
Today, Greg Cope [EMAIL PROTECTED] frothed and...: one of your parents sister. The only major issue is that I cannot appear to use posted values as they appear to get lost in the redirect (Clues wanted !). Redirecting a POST request? Yup, expediency often requires violating the HTTP spec.

Re: was Re: template kit..... - now session handling

2000-07-29 Thread Greg Cope
a tied hash at load time (so it only has to be done once) and monitor wherever somebody is writing to this hash. Only in the case that a element of the hash is modified, Embperl generates a session id (actually Apache::Session does it) and sends the cookie to the browser. Therefore I don't have

Apache::Session : DBI-Too many connections

2000-07-29 Thread Frédéric Schwien
Hi , I am using Perl 5.6.0 whith MySql 3.22.32 , Apache 1.3.12 , modperl 1.24 . On our Production Server , Apache error logs are showing sometimes : [Thu Jun 8 14:53:34 2000] [error] DBI-connect failed: Too many connections at /usr/local/lib/perl5/site_perl/5.6.0/Apache/Session

Apache::ASP, Session Management and the Fun

2000-07-29 Thread Issam W. Alameh
Hello, I am having a lot of fun with Apache::ASP and the session management with it and I really recommend any body who hasn't used it to try it, Just for FUN. I have a question here, has any body stored sessions in mysql with Apache::ASP. what is the pros and cons of doing that and How . Any

Re: Apache::Session : DBI-Too many connections

2000-07-29 Thread Bryan McGuire
just need to increase its max_connections parameter to a bigger number. - Original Message - From: Frédéric Schwien To: [EMAIL PROTECTED] Sent: Saturday, July 29, 2000 10:31 AM Subject: Apache::Session : DBI-Too many connections Hi , I am using Perl 5.6.0 whith MySql 3.22.32 , Apache

Re: was Re: template kit..... - now session handling

2000-07-29 Thread Joshua Chamas
Greg Gerald, I wanted to bring an important issue that came up with Apache::ASP, how will you deal with search engines indexing the session-ids in the URL? In Apache::ASP, this is handled a couple of ways, first the session-id is stored as a query string param, not in the path to give

Lifetime session with Apache::Session module version 1.51

2000-07-28 Thread Eddy Vernay
Hi, I have a problem with the Apache::Session module. Before, I was using the version 0.15 of this module. In this version, we canuse the SESSION_LIFETIME variable to define how long the session stays valid after the last request to the server. I tried to update the Apache::Session

Is there a module for getting / setting a Session-ID

2000-07-26 Thread Greg Cope
Dear All Is there a (CPAN) module for transparently setting/getting a Session id from a client: i.e. If they are using cookies set and send a Session ID (shortish expiration time) and optionally a User ID (cookie with a long expiration time). If cookies are off then use URL mangling to store

RE: Is there a module for getting / setting a Session-ID

2000-07-26 Thread Issam W. Alameh
check Apache::ASP http://www.nodeworks.com/asp/ It is so great Issam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Cope Sent: Wednesday, July 26, 2000 11:12 AM To: Modperl list Subject: Is there a module for getting / setting a Session-ID

Re: Is there a module for getting / setting a Session-ID

2000-07-26 Thread jeff
The mod_perl eagle book has a good section on saving state information using session ids. And it's not necessarily mod_perl based. -- Jeff Saenz [EMAIL PROTECTED]

Re: Apache::Session and blessed references

2000-07-24 Thread Dylan Weed
tests under 5.6? And do you think it's possible that the bug might be a 5.6/Apache::Session interaction? I'll write again tomorrow with more info. Thanks, -- Dylan On Sun, 23 Jul 2000, Jeffrey W. Baker wrote: On Wed, 31 May 2000, Dylan Weed wrote: I can't seem

Apache::Session - can't undef %session?

2000-07-24 Thread Kenneth Lee
Hi all, I found that if I explicitly undef %session, CLEAR will be triggered before DESTROY clearing $self-{data}, so $self-save actually update nothing in the database. # Apache/Session.pm ... sub CLEAR { warn "CLEAR!\n"; ... sub DESTROY { warn &

Re: Apache::Session - can't undef %session?

2000-07-24 Thread Perrin Harkins
On Mon, 24 Jul 2000, Kenneth Lee wrote: I found that if I explicitly undef %session, CLEAR will be triggered before DESTROY clearing $self-{data}, so $self-save actually update nothing in the database. The perltie page says that this will happen when assigning the empty list to a tied hash

[ANNOUNCE] Apache::Session 1.52

2000-07-24 Thread Jeffrey W. Baker
Apache::Session 1.52 has been uploaded to CPAN. The main change in this version is the inclusion of modules to work with Sybase, contributed by Chris Winters, and a smattering of bugfixes. There is a memory leak if you use a persistent database handle with Apache::Session. The memory leak

[OT] strange mod_rewrite behaviour (for Apache::Session support)

2000-07-23 Thread Louis-David Mitterrand
Hello, I am in the process of implementing persistent sessions using Apache::Session with the session_id stored in the URL and it mostly works. In the HTML::Mason autohandler there is the following filter: %filter $r-pnotes("cookie") # mangle URL only if cookie is missing ||

Re: Apache::Session and blessed references

2000-07-23 Thread Jeffrey W. Baker
On Wed, 31 May 2000, Dylan Weed wrote: I can't seem to get Apache::Session to save the blessedness of an object. Is this an oversight on my part, a limitation of the module, a limitation of the database, or an intentional design decision? Conceptually, it seems as though an objects

Apache::Session::MySQL problem

2000-07-20 Thread Tatsuhiko Miyagawa
I'm using Apache::Session 1.51 + mysql 3.22.32 + mod_perl 1.24 + Apache 1.3.11. They work well except one problem. The problem is, if an acquired Session ID (from Cookie) is not stored in the session database, Apache goes like panic: POPSTACK Callback called exit. I know Apache::Session

Apache::Session - expected behaviour?

2000-07-20 Thread Kenneth Lee
Hi all, I found that if I explicitly undef %session, CLEAR will be triggered before DESTROY clearing $self-{data}, so $self-save actually update nothing in the database: # Apache::Session ... sub CLEAR { warn "CLEAR!\n"; ... sub DESTROY { warn &

Re: Apache::Session Math::Currency thawing issue.

2000-07-20 Thread Ken Williams
the session) instead of seeing the value I get the reference showing "Math::Currency=HASH(0x86b022)" instead of the value as it showed the first time through. It's a reference going in, and a reference coming out, but for some reason it doesn't like being stuck into Apache::Session.

Re: Apache::Session::MySQL problem

2000-07-20 Thread Tatsuhiko Miyagawa
Thu, 20 Jul 2000 14:29:40 -0700 (PDT) "Jeffrey W. Baker" [EMAIL PROTECTED] wrote: The problem is, if an acquired Session ID (from Cookie) is not stored in the session database, Apache goes like panic: POPSTACK Callback called exit. I know Apache::Session will die &q

Apache::session and Apache::DBI::Oracle headaches part 2

2000-07-12 Thread Chad Billigmeier
Quite right...Commit does need to be enabled. Here's the trick though... (code from the script making the connection through Apache::Session::Oracle tie %hash, 'Apache::Session::Oracle', $id, { DataSource = 'dbi:Oracle:ensdev', UserName = 'User', Password = 'Pass',Commit = 1

Apache::session and Apache::DBI Fixed - Thanks for the help everyone

2000-07-12 Thread Chad Billigmeier
Thank you for helping me fix this. It is an integral part of a rearchitecture plan. Chad Alan Prey - Plead Anarchy, it worked for me.

RE: Session Cookies:cant retrieve value

2000-07-11 Thread G.W. Haywood
Hi all, On Fri, 30 Jun 2000, Geoffrey Young wrote: From: darren chamberlain Maybe I stole it unconsciously... Sorry Geoff... feel free Somebody once said "Imitation is the sincerest form of flattery". Blessed if I can remember who it was. 73, Ged.

Apache::session and Apache::DBI::Oracle headaches

2000-07-11 Thread Chad Billigmeier
Having a bit of trouble getting apache::session to run with apache::DBI. Is this due to the fact that Oracle wants AutoCommit on and Apache::DBI has it off or is there some other magic that I am missing out on? Is anyone using Apache::Session with Apache::DBI??? The error_log reports

<    1   2   3   4   5   6   7   8   >