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

2000-08-02 Thread Jeffrey W. Baker
On Mon, 31 Jul 2000, brian moseley wrote: On Mon, 31 Jul 2000, Perrin Harkins wrote: Since it isn't really tied to HTTP or sessions, that would be kind of a misnomer as well. Jeff already suggested Persistent::Hash at once point, but changing namespace on CPAN always confuses some

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 the

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: 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: was Re: template kit..... - now session handling

2000-07-31 Thread Perrin Harkins
On Sun, 30 Jul 2000, brian moseley wrote: using this vocabulary, i'd like to suggest that jeff's module be renamed HTTP::SessionPersistence. Since it isn't really tied to HTTP or sessions, that would be kind of a misnomer as well. Jeff already suggested Persistent::Hash at once point, but

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: 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 then

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 is

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

2000-07-29 Thread Gerald Richter
Hi Greg, Can I recommend you write a simple, standalone module that everyone can use and not just an embperl solution - I'd be willing to help (or write it) if people send me their wants / ideas, and then flame my code when I think its ready! I would be happy if there is an standalone

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

2000-07-29 Thread Greg Cope
Gerald Richter wrote: Hi Greg, Can I recommend you write a simple, standalone module that everyone can use and not just an embperl solution - I'd be willing to help (or write it) if people send me their wants / ideas, and then flame my code when I think its ready! I would be

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

2000-07-29 Thread Gerald Richter
Hi Greg, As far as I am aware (please someone prove me wrong!) the does not appear to be such a module. I meant the module your are about to write :-) Please send me ideas / thoughs and I'll have a go. Embperl currently goes the way that it sets up a tied hash at load time (so it only

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
Gerald Richter wrote: Hi Greg, As far as I am aware (please someone prove me wrong!) the does not appear to be such a module. I meant the module your are about to write :-) Please send me ideas / thoughs and I'll have a go. Embperl currently goes the way that it sets up a

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 a