Re: DeleteSession does not always delete session

2018-04-05 Thread Jim Tappe
I think (and hope) I found a solution. In my apache configuration, I removed PerlSetEnv for the cookie settings and now embperl consistently configures the cookie as configured. I changed *PerlSetEnv EMBPERL_COOKIE_PATH /* to *EMBPERL_COOKIE_PATH /* Although, the embperl log still shows requ

Re: DeleteSession does not always delete session

2018-04-03 Thread Jim Tappe
A few more notes ... Sometimes I see both EMBPERL_UID and the cookie specified in *EMBPERL_COOKIE_NAME "_session_id" present in Chrome Dev tools.* I can find session information for both session_id and EMBPERL_UID in the MySQL sessions table. The EMBPERL_UID has an expiration date

DeleteSession does not always delete session

2018-04-02 Thread Jim Tappe
Hello, On my high traffic site, I am finding DeleteSession does not always remove the session cookie or delete session in MySQL. In my signout, function I call DeleteSession but the sometimes the session remains. >From init.epl which is called by base.epl. # function to signout from

Re: Session

2011-06-30 Thread Jose Fonseca
Hi, it seems to me like those modules first require Apache::SessionX at BEGIN time and only check for the state of EMBPERL_SESSION_HANDLER_CLASS at runtime - so you'd still need to install Apache::SessionX even if you have session handling disabled. Installing the modules does not mean it&#

Session

2011-06-30 Thread Soltan Safavi
Hi, I am using Embperl 2.4 on Linux and I disabled the session by setting PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no in perl.conf. It works fine, but I have some Perl modules which are not working properly under mod_perl, in this case I have to use cgi scripts and I am getting frequently the

Re: Session handling doesn't work for me

2008-05-02 Thread Jeremy Malcolm
On 01/05/2008, at 5:36 PM, Jeremy Malcolm wrote: Nothing ever gets written to /var/www/press/orders. I read in the Embperl::Config man page that if I put EMBPERL_DEBUG 209715 in my environment then I will get debugging of session transactions, but I don't get anything that I recogni

Session handling doesn't work for me

2008-05-01 Thread Jeremy Malcolm
I am trying to get my head around session handling. I have a small test document like this: Embperl session test [$ if $fdat{action} eq "submitted" $] You just submitted [+ $fdat{test} +]. Now setting a cookie with that value. Please continue. [- $udat{test} = $fdat{test} -] [$ e

RE: Authentication & session handling

2007-11-12 Thread Gerald Richter - ECOS GmbH
To: embperl@perl.apache.org > Subject: Authentication & session handling > > Hi! > > I wonder if there is a "out of the box" Embperl solution for > the common login/authentication/session scenario: > > 1. User accesses the web area which is protect

Authentication & session handling

2007-10-18 Thread Oskar Ahner
Hi! I wonder if there is a "out of the box" Embperl solution for the common login/authentication/session scenario: 1. User accesses the web area which is protected and requires authentication, i.e. https://greatapp.mycompany.com/protected/greate/stuff.epl 2. The user has not a val

RE: virtualhosts with same Docroots steal Request object and Session

2007-10-07 Thread Gerald Richter - ECOS GmbH
Hi, > I have this scenario: > Two virtual servers ( A and B ) share the same DocumentRoot, > due to the fact that every server needs some special "global" > variables, each is set up with its own Perl interpreter. > The first Request to the page mypage.epl determinates which > server has the "r

Re: virtualhosts with same Docroots steal Request object and Session

2007-10-05 Thread Frank Wesemann
I am very sorry, I forgot to supply the credentials: It is Embperl 2.2.0 with an Apache 2.0.52 ( preforking ) Perl is 5.8.5 all that running under RedHat 3.4.6-3 -- mit freundlichem Gruß, Frank Wesemann Fotofinder GmbH USt-IdNr. DE812854514 Software EntwicklungWeb: http://www.fotofin

virtualhosts with same Docroots steal Request object and Session

2007-10-05 Thread Frank Wesemann
Dear list, I have this scenario: Two virtual servers ( A and B ) share the same DocumentRoot, due to the fact that every server needs some special "global" variables, each is set up with its own Perl interpreter. The first Request to the page mypage.epl determinates which server has the "right" E

Re: $udat session anomaly

2007-09-07 Thread Wolfgang Kinkeldei
Is there a way to debug session ($udat) information assignments? I fear the problem is located somewhere else. $udat is represented by a tied hash. This means that only write operations to the top level of this hash really do mark this hash as dirty triggering a writeback to your sessi

$udat session anomaly

2007-09-07 Thread Aare Vesi
senting it as [+ Data::Dumper::Dumper $udat{sessioninfo} +] works perfectly. But in the main code sometimes it does not work: $udat{sessioninfo} -> {subinfo} value is undef/empty and nothing else in the code is assigning values to that hash. Is there a way to debug session ($udat) informa

RE: session problem

2006-09-04 Thread Gerald Richter
Hi, >I have a question regarding session management and %udat. > when I installed embperl to new web site and used simple script: > > The page is requested [+ $udat{counter}++ +] times > > I get "The page is requested 0 times" and get new session > every time

session problem

2006-09-03 Thread andrew
Hi, I have a question regarding session management and %udat. when I installed embperl to new web site and used simple script: The page is requested [+ $udat{counter}++ +] times I get "The page is requested 0 times" and get new session every time when request this page. I have a

Request for Information Regarding Apache::Session module

2006-08-31 Thread dhaval gada
Hi, I am using Apache::Session  module for state persistence. However Iam getting the following error :[1989]ERR: 24: Error in Perl code: Global data is not accessible: Died at /usr/local/lib/site_perl/Apache/Session/Generate/MD5.pm line 40.Atari 800 HTML::Embperl 1.3.6 [Fri Aug 25 11:18:35

Request for Information Regarding Apache::Session module

2006-08-30 Thread dhaval gada
Hi, I am using Apache::Session  module for state persistence. However Iam getting the following error :[1989]ERR: 24: Error in Perl code: Global data is not accessible: Died at /usr/local/lib/site_perl/Apache/Session/Generate/MD5.pm line 40.Atari 800 HTML::Embperl 1.3.6 [Fri Aug 25 11:18:35 2006

RE: Session Management

2006-03-27 Thread Gerald Richter
> > at the moment I'm working on the session management. It works > very well and I like the idea from the udat hash. But I've > noticed some strange behaviors. Everytime I'm checking if a > user is logged in the system creates a new session id in the > dat

Session Management

2006-03-24 Thread Florian 'cit' Adamsky
Hoi list, at the moment I'm working on the session management. It works very well and I like the idea from the udat hash. But I've noticed some strange behaviors. Everytime I'm checking if a user is logged in the system creates a new session id in the database and I muss delete

RE: Embperl::Object with session management?

2006-01-16 Thread Andrew O'Brien
, 17 January 2006 4:01 PM > To: embperl@perl.apache.org > Subject: Embperl::Object with session management? > > Hi all, > I'm new to the list, but have been using Embperl for about a year and > absolutely love it. I've just started using Embperl::Object and > disc

Embperl::Object with session management?

2006-01-16 Thread Dan Lenski
Hi all, I'm new to the list, but have been using Embperl for about a year and absolutely love it. I've just started using Embperl::Object and discovered a subtle issue with session management in a project with subdirectories. I have a project in a directory called "/var/www/cms

Re: Session Problems Due to Apache Calling Back Into Itself

2005-09-25 Thread ___cliff rayman___
Gerald Richter wrote: The problem seems directly attributable to a 500 configuration error occuring with a request that was using the session. These configuration errors were occuring because of an error in our code which was causing Storable to fail. It seems like the next

RE: Session Problems Due to Apache Calling Back Into Itself

2005-09-25 Thread Gerald Richter
> > > The problem seems directly attributable to a 500 > configuration error > > occuring with a request that was using the session. These > > configuration errors were occuring because of an error in our code > > which was causing Storable to fail. It see

RE: Session Problems Due to Apache Calling Back Into Itself

2005-09-20 Thread Gerald Richter
> The problem seems directly attributable to a 500 > configuration error occuring with a request that was using > the session. These configuration errors were occuring > because of an error in our code which was causing Storable to > fail. It seems like the next connection to

Re: Session Problems Due to Apache Calling Back Into Itself

2005-09-20 Thread ___cliff rayman___
Gerald Richter wrote: Ok - I've done that. The SES: message always comes from the parent process so it is not always easy to match the SESSION data to the child process that is actually performing the request. The question is, what are you seeing in case of the problem you have.

RE: Session Problems Due to Apache Calling Back Into Itself

2005-09-18 Thread Gerald Richter
> > Ok - I've done that. The SES: message always comes from the > parent process so it is not always easy to match the SESSION > data to the child process that is actually performing the request. > The question is, what are you seeing in case of the problem you have. Cou

RE: Session Problems Due to Apache Calling Back Into Itself

2005-09-15 Thread ___cliff rayman___
Ok - I've done that. The SES: message always comes from the parent process so it is not always easy to match the SESSION data to the child process that is actually performing the request. I am wondering if my problems may be caused by using the stock threaded perl even though we are usin

RE: Session Problems Due to Apache Calling Back Into Itself

2005-09-14 Thread Gerald Richter
Could you turn on dbgSession and see what session related entries appear in the embperl.log? Gerald --- Besuchen Sie uns auf der Systems 2005 in München, Halle B2, Stand 704

Re: Session Problems Due to Apache Calling Back Into Itself

2005-09-13 Thread ___cliff rayman___
oops - editing below ___cliff rayman___ wrote: It seems that when a REDIRECT is requested, apache/mod_perl chooses to call back into itself, or resuse the same connection. In any case, when certain redirects occur, the session is not written and the next connection to use the process now has

Session Problems Due to Apache Calling Back Into Itself

2005-09-13 Thread ___cliff rayman___
It seems that when a REDIRECT is requested, apache/mod_perl chooses to call back into itself, or resuse the same connection. In any case, when certain redirects occur, the session is not written and the next connection to use the process now has the same session id and session data. It is not

Session Problems Due to Apache Calling Back Into Itself

2005-09-13 Thread ___cliff rayman___
It seems that when a REDIRECT is requested, apache/mod_perl chooses to call back into itself, or resuse the same connection. In any case, when certain redirects occur, the session is not written and the next connection to use the process now has the same session id and session data. It is not

Re: How to troubleshoot session handling?

2005-04-20 Thread ___cliff rayman___
allen haim wrote: Instead of SetEnv I used PerlSetEnv, and for the cookie path I used /tmp. EMBPERL_COOKIE_PATH is not the "storage" path, you specify that when you set-up SessionX. EMBPERL_COOKIE_PATH is the website path. So unless you send things to http://www.netherrealm.net/tmp/hello.htm

Re: How to troubleshoot session handling?

2005-04-20 Thread allen haim
ext, (just 'allen' and 'hello') and I see the session id. > > > > > ok - so embperl is able to write the session data to the file. the > control characters are just part of the serialization and storage > process. the only problem you are having is that

Re: How to troubleshoot session handling?

2005-04-20 Thread ___cliff rayman___
allen haim wrote: OK, I've looked in /tmp, and I see a file with the same name as the _session_id key in %udat. Looking in that file, I see some control characters throughout, I see my data in plain text, (just 'allen' and 'hello') and I see the session id. ok - so emb

Re: How to troubleshoot session handling?

2005-04-20 Thread allen haim
Hi, OK, I've looked in /tmp, and I see a file with the same name as the _session_id key in %udat. Looking in that file, I see some control characters throughout, I see my data in plain text, (just 'allen' and 'hello') and I see the session id. Now what? Allen On M

Re: How to troubleshoot session handling?

2005-04-18 Thread allen haim
: text/html; charset=ISO-8859-1 so there is nothing about a session. and the server log says only: [Mon Apr 18 10:56:57 2005] [notice] SIGHUP received. Attempting to restart [Mon Apr 18 10:56:57 2005] [notice] Embperl/2.0rc2 Apache/2.0.52 (Unix) mod_perl/1.999.21

Re: How to troubleshoot session handling?

2005-04-18 Thread ___cliff rayman___
htm HTTP/1.1 Host: www.yourdomain.com this has two new lines after the last command. scroll-up to review the SET-COOKIE line. If you do not have a SET-COOKIE line, then look into restart apache and look into your logs for an error message on the starting of

How to troubleshoot session handling?

2005-04-18 Thread allen haim
Hi Gerard and friends, How do I troubleshoot problems with session handling? Simply put, putting values in %udat doesn't work any more. I can see in Mozilla's Cookie Manager that the cookie isn't being set, and I am also not getting my values back out of %udat. I'm using A

RE: Setting up advanced session handler with memcached

2005-03-03 Thread Gerald Richter
Hi, > After reading of Embperl on Perlmonks.org, I've decided that > it really is worth examining as a replacement for my php. > I've installed mod_perl, Apache 1.3.33, and MySQL 4 on my > FreeBSD 4.11-STABLE system. Looking for a better way to > handle sessions

Setting up advanced session handler with memcached

2005-03-03 Thread Wilde, Donald
Greetings: After reading of Embperl on Perlmonks.org, I've decided that it really is worth examining as a replacement for my php. I've installed mod_perl, Apache 1.3.33, and MySQL 4 on my FreeBSD 4.11-STABLE system. Looking for a better way to handle sessions, I found Apache::Session:

Re: Embperl Session handling DISABLED because ...

2005-02-28 Thread allen haim
Thanks kids; this worked great. Allen On Thu, Feb 24, 2005 at 02:58:42PM +0100, Gerald Richter wrote: > > > > It looks like you're running the latest version of embperl, > > but this latest version no longer supports > > Embperl::Session... (Or so I gathered fro

RE: Embperl Session handling DISABLED because ...

2005-02-24 Thread Gerald Richter
> > It looks like you're running the latest version of embperl, > but this latest version no longer supports > Embperl::Session... (Or so I gathered from hunting google). > > I think you could replace it with Apache::SessionX, to get > rid of your error, but as

Re: Embperl Session handling DISABLED because ...

2005-02-24 Thread Martin Moss
It looks like you're running the latest version of embperl, but this latest version no longer supports Embperl::Session... (Or so I gathered from hunting google). I think you could replace it with Apache::SessionX, to get rid of your error, but as thats the stage I've just reached I hav

Embperl Session handling DISABLED because ...

2005-02-23 Thread allen haim
Hi, Can someone help me understand this message please? It seems I can't initialise the Embperl session manager because: -- [Wed Feb 23 17:59:15 2005] [notice] SIGHUP received. Attempting to restart [6803]ERR: 66: Embperl Session handling DISABLED because o

Re: session question

2004-12-10 Thread Angus Lees
At Thu, 09 Dec 2004 21:05:24 -0600, Will Schroeder wrote: > 1: in a pattern match like [$ if ( $fdat{QC} =~ m/(\d+)/ ) $] > [- $num = $1 -] > for example. The $1 variable never seems to get populated during the > match like in a regular old perl script. aiui, the value of $1, etc variables are "l

Re: session question

2004-12-09 Thread Gerald Richter
that the default cookie expires when the browser closes so > the session is lost without changing the timeout on the cookie. duh Yes, use EMBPERL_COOKIE_EXPIRE in your httpd.conf > I do have a couple of observations: > 1: in a pattern match like [$ if ( $fdat{QC} =~ m/(\d+)/ ) $] >

RE: session question

2004-12-09 Thread Will Schroeder
I did get it to work with this: [- $req_rec = shift; -] [- my $udat = HTML::Embperl::Req::SetupSession($req_rec); -] I just forgot that the default cookie expires when the browser closes so the session is lost without changing the timeout on the cookie. duh I do have a couple of observations

RE: session question

2004-12-09 Thread Gerald Richter
> BTW: when I get this to work I will be more that happy to > fully document what I did post it back here. > Apache 1.3.33, embperl 1.3.6, mod_perl 1.2.9, apache::session > 1.6, apache::sessionX 2.00b5 The Trying to restore session page: > [- use Apache::Session::MySQL; -]

Re: session question

2004-12-09 Thread ___cliff rayman___
Will Schroeder wrote: snip The Trying to restore session page: [- use Apache::Session::MySQL; -] [- use Apache; -] [- use DBI; -] [- $req = shift; -] [- $r -> GetSession; -] shouldn't this be? [- $req->GetSession; -] you are getting the request into $req then trying to use $

Update:: session question

2004-12-09 Thread Will Schroeder
I got to thinking and I tried this: [- $req_rec = shift; -] [- my $udat = HTML::Embperl::Req::SetupSession($req_rec); -] Now when I close the tab in mozilla and re open the last page I see the data. When I close the browser totally and try to access the page from I do not see anything. I tried rep

session question

2004-12-09 Thread Will Schroeder
I have used embperl with great success in a number of projects but I have never needed to keep session information until now and I find myself a little confused. Here is the dilemma: I can insert session info into mysql but I am not sure how to go about restoring session data. I have a form that

RE: How to start a new session without removing old one?

2004-12-08 Thread Gerald Richter
> > I need to give user a new session but I don't want to > delete old data for archival purposes - so don't want > $r->DeleteSession - what's the right way? User don't need to > remember old session, so I can just make a new session and > resnd a

How to start a new session without removing old one?

2004-12-02 Thread RobertCZ
Hi, I need to give user a new session but I don't want to delete old data for archival purposes - so don't want $r->DeleteSession - what's the right way? User don't need to remember old session, so I can just make a new session and resnd a new cookie, but what is the

RE: Weird session problems

2004-09-28 Thread Gerald Richter
les etc. when they > have loggon using their own credentials. So first it seemed > they have logged on OK but when going somewhere like "Update > profile" they get other peoples information. Is there anyone > that knows anything about this ? > Could you enable the

RE: Weird session problems

2004-09-28 Thread Pete Moran
: Tuesday, 28 September 2004 7:19 PM To: [EMAIL PROTECTED] Subject: Weird session problems Hi! I have a problem which may be related to sessions, I don't know if this has anything todo with SessionX / Embperl or what is causing this problem. The thing is we get alot of reports from a website

Re: Weird session problems

2004-09-28 Thread Ed Grimm
I'd check for use of globals to cache data - if a variable is not in the default package, it's not cleaned at the end of the page. If I recall correctly, we found another issue that caused data bleed in Embperl 1.3.3 - as memory serves, that version only cleaned scalars by default. I've no idea if

RE: Weird session problems

2004-09-28 Thread Neal Gamradt
a new user logs in? Neal From: Stefan Cars <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Weird session problems Date: Tue, 28 Sep 2004 11:19:14 +0200 Hi! I have a problem which may be related to sessions, I don't know if this has anything todo with SessionX / Embperl or what is causi

Weird session problems

2004-09-28 Thread Stefan Cars
Hi! I have a problem which may be related to sessions, I don't know if this has anything todo with SessionX / Embperl or what is causing this problem. The thing is we get alot of reports from a website that people suddenly get other peoples profiles etc. when they have loggon using their own cr

Re: Session Management Magic

2004-06-09 Thread Angus Lees
| > | givenName | varchar(20) | YES | | NULL| | The id column stores the session_id, the contents of the session are stored in a serialised form in a_session. Your givenName column will never be used. -- - Gus --

Re: Session Management Magic

2004-06-09 Thread Gerald Richter
Title: Session Management Magic > When I load IN.html and then OUT.html a second time, I get the value> for 'surName', but I'm not sure where it's coming from?  Can anyone> explain?  Not sure if I understand right what your problem is? Is it that surname is lo

Session Management Magic

2004-05-28 Thread Farouk Khawaja
Title: Session Management Magic OK Folks,  I realize that sessions management is 'magic' but I really want to know how it works. First some background I've got session working with mySQL.  I can see the cookie in my browser and it matches up with a record in the sessions t

Re: crash in anchor without href in session mode 2

2004-03-07 Thread Gerald Richter
Torsten Luettgert wrote: > Hi, > > I hit a bug in Embperl 2.0b10 today (httpd is 2.0.48, mod_perl > 1.99_12, on a RedHat 9). > > Putting > > Test > > in an Embperl page reliably crashes my Apache with sig 11 (SIGSEGV) The appended patch fixes the problem. You can also grab it from the CVS Gerald

Re: crash in anchor without href in session mode 2

2004-03-02 Thread Gerald Richter
> > Putting > > Test > > in an Embperl page reliably crashes my Apache with sig 11 (SIGSEGV) > if Embperl_Session_Mode has bit 1 set (insert session key into anchors > and forms) and EmbperlHTML is active (needed for insertion). > > It seems probable that parsing the

Bug: crash in anchor without href in session mode 2

2004-03-02 Thread Torsten Luettgert
Hi, I hit a bug in Embperl 2.0b10 today (httpd is 2.0.48, mod_perl 1.99_12, on a RedHat 9). Putting Test in an Embperl page reliably crashes my Apache with sig 11 (SIGSEGV) if Embperl_Session_Mode has bit 1 set (insert session key into anchors and forms) and EmbperlHTML is active (needed for

Re: session disapearing [solved]

2004-01-25 Thread Aare Vesi
> While using Embperl's $udat session everything works great > but after approx. 15 requests from Apache restart > session values start disapearing and reappearing. Solved my problem. I had 2 apache servers running same application (under different ports) with different EMBPER

session disapearing

2004-01-25 Thread Aare Vesi
Hi, While using Embperl's $udat session everything works great but after approx. 15 requests from Apache restart session values start disapearing and reappearing. Last time I had same kind of trouble, when PerlOptions +Parent was enabled in apache server conf and perl modules gave random e

Re: memory usage / session cleanup

2003-12-20 Thread Wim Kerkhoff
Pierre Etchemaite wrote: Le Fri, 19 Dec 2003 10:38:40 -0800, Wim Kerkhoff <[EMAIL PROTECTED]> a écrit : You can't do this with MySQL, since it won't let you set a default value to a function, only a constant (null, 1, 'foo', etc). For MySQL, it seems that the way to go are TIMESTAMP field

Re: memory usage / session cleanup

2003-12-20 Thread Pierre Etchemaite
Le Fri, 19 Dec 2003 10:38:40 -0800, Wim Kerkhoff <[EMAIL PROTECTED]> a écrit : > You can't do this with MySQL, since it won't let you set a default value > to a function, only a constant (null, 1, 'foo', etc). For MySQL, it seems that the way to go are TIMESTAMP fields: http://www.mysql.com/doc

Re: memory usage / session cleanup

2003-12-19 Thread Wim Kerkhoff
Hans de Groot wrote: Than an other question I installed embperl a while ago, with storable and apache session and made the session database. What is the properway to cleanup the session database? Right now I just delete the content of the session table but this also deletes the sessions of the

Re: Session timeouts

2003-12-10 Thread Luiz Fernando B. Ribeiro
Earwig wrote: Hey guys. I've used EMBPERL_COOKIE_EXPIRES to expire cookies, but in some instances I would also like to expire sessions based on inactivity, not an arbitrary time limit. I'm not spotting the best way to do this. Any way to do this in embperl, or apache, or Apach

Session timeouts

2003-12-10 Thread Earwig
Hey guys. I've used EMBPERL_COOKIE_EXPIRES to expire cookies, but in some instances I would also like to expire sessions based on inactivity, not an arbitrary time limit. I'm not spotting the best way to do this. Any way to do this in embperl, or apache, or Apache::Sessio

Re: Problems with session handling

2003-03-25 Thread Gerald Richter
t; >>>/ Stefan > >>> > >>>Stefan Cars wrote: > >>> > >>> > >>> > >>>>Hi! > >>>> > >>>>I'm trying to handle sessions using with embperl. I'm writing a value > >>>>

Re: Problems with session handling

2003-03-25 Thread Stefan Cars
explorer 6 on windows or safari on Mac OS X although it works using Mozilla 1.3b on Linux/FreeBSD. On windows/mac os x the $udat{submenu_id} is not possible to use on the next page... I'm using Embperl 2, apache 1.3, mod_perl 1. I'm installed Apache::Session and Apache::SessionX. I have also

Re: Session and redirect oddity

2003-03-15 Thread Gerald Richter
> I did some investigating and found that the MySQL behavior for this type > of problem is to simply report a warning and cut off the text being > entered if it exceeds the field length. The session data is becoming > invalid because in this case the Perl data structure is being

Re: Problems with session handling

2003-03-12 Thread Gerald Richter
I'm writing a value > >> to $udat{submenu_id} and go to another page. This does not work at > >> all in internet explorer 6 on windows or safari on Mac OS X although > >> it works using Mozilla 1.3b on Linux/FreeBSD. On windows/mac os x the > >> $udat{submenu_id}

Re: Problems with session handling

2003-03-06 Thread Stefan Cars
2, apache 1.3, mod_perl 1. I'm installed Apache::Session and Apache::SessionX. I have also removed all the security things on the windows and mac os x box regarding cookies. / S - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Problems with session handling

2003-03-06 Thread Stefan Cars
the $udat{submenu_id} is not possible to use on the next page... I'm using Embperl 2, apache 1.3, mod_perl 1. I'm installed Apache::Session and Apache::SessionX. I have also removed all the security things on the windows and mac os x box reg

Problems with session handling

2003-03-06 Thread Stefan Cars
the $udat{submenu_id} is not possible to use on the next page... I'm using Embperl 2, apache 1.3, mod_perl 1. I'm installed Apache::Session and Apache::SessionX. I have also removed all the security things on the windows and mac os x box reg

Re: Session and redirect oddity

2003-02-24 Thread Aaron Johnson
I did some investigating and found that the MySQL behavior for this type of problem is to simply report a warning and cut off the text being entered if it exceeds the field length. The session data is becoming invalid because in this case the Perl data structure is being corrupted. The section

Re: Session and redirect oddity

2003-02-23 Thread Gerald Richter
> As a follow up to this issue I wanted to post what I believe caused this > issue. The problem has to do with the size of the available session > storage method. The volume of information being stored in the session > data was exceeding the available column size in the MySQL data

Re: Session and redirect oddity

2003-02-22 Thread Aaron Johnson
As a follow up to this issue I wanted to post what I believe caused this issue. The problem has to do with the size of the available session storage method. The volume of information being stored in the session data was exceeding the available column size in the MySQL database table. Once I

At last the session handling is working

2003-01-24 Thread Ville Jungman
Tervehdys! At last I got the session(X) handling and %udat working after several _days_ of cpanning and perl module examining (not easy because I'm very new linux and perl user). The solution was very easy: I just added (and chmoded) directories /var/sessions/ and /var/lock/sessions/

RE: session records bulding up

2003-01-16 Thread Alexandru Deva
Yes, that's just what I did. Thanks. -Original Message- From: Angus Lees [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:52 AM To: [EMAIL PROTECTED] Cc: Alexandru Deva; Keith Watanabe Subject: Re: session records bulding up At Tue, 14 Jan 2003 20:49:56 +0100, G

Re: session records bulding up

2003-01-16 Thread Angus Lees
At Tue, 14 Jan 2003 20:49:56 +0100, Gerald Richter wrote: > >One more way which is probably evil but better overall, imo, is to add a > field to the session table with the timestamp > > Adding a field should work. Mysql can use a default value on insert. If you > set the defa

RE: session records bulding up

2003-01-15 Thread Alexandru Deva
Thank you, that worked great. Now all I have to do is make a cron job to clean up. -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 9:50 PM To: Alexandru Deva; [EMAIL PROTECTED]; Keith Watanabe Subject: Re: session records bulding up &g

Re: session records bulding up

2003-01-14 Thread Gerald Richter
>I think though, from the looks of the documentation, you have to manage the lifespan of the sessions on the server side yourself Yes unfortunately you have to >One more way which is probably evil but better overall, imo, is to add a field to the session table with the timestamp Adding a

Re: session records bulding up

2003-01-13 Thread Keith Watanabe
m the looks of the documentation, you have to manage the lifespan of the sessions on the server side yourself (anyone who knows otherwise, please correct me if i'm wrong). The main issue is that the way Apache::Session requires sessions in the database, it has no timestamp so you can't easil

session records bulding up

2003-01-13 Thread Alexandru Deva
Title: session records bulding up Hi! I'm new to both Embperl and Apache::Session, so I have to ask. I’m inclined to believe it's a Session issue, but maybe one of you can help me. In my configurations, the session ids are stored in a mysql db. The problem is that db records ar

Re: Session and redirect oddity

2003-01-07 Thread Aaron Johnson
On Mon, 2002-12-23 at 00:39, Gerald Richter wrote: > > On Sun, 2002-12-22 at 17:24, Gerald Richter wrote: > > > > [13048]SES: Send Cookie -> > > > > EMBPERL_UID=5a90da88079e1848df918cecd95d06a2; path=/; expires=+30m > > > > > Could you try without the EXPIRES setting? Embperl 2.0 for now only acc

Re: session cookie over HTTPS

2003-01-05 Thread Jaak
Hi! Sorry. My fault. IE did not like cookie expiration time. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

session cookie over HTTPS

2003-01-05 Thread Jaak
Hi! While using latest Embperl from CVS and sending session cookie over HTTPS cookie does not have flag server secure. Mozilla, Opera, Konqueror etc. work allright but Internet Expoler 6 will not accept that session cookie. How to fix this? Thanks in advance

Re: Session and redirect oddity

2002-12-22 Thread Gerald Richter
> On Sun, 2002-12-22 at 17:24, Gerald Richter wrote: > > > [13048]SES: Send Cookie -> > > > EMBPERL_UID=5a90da88079e1848df918cecd95d06a2; path=/; expires=+30m > > Could you try without the EXPIRES setting? Embperl 2.0 for now only accepts absolut times. It doesn't convert relativ times to absol

Re: Session and redirect oddity

2002-12-22 Thread Aaron Johnson
On Sun, 2002-12-22 at 17:24, Gerald Richter wrote: > > [13048]SES: Send Cookie -> > > EMBPERL_UID=5a90da88079e1848df918cecd95d06a2; path=/; expires=+30m > > ok, so Embperl tries to send the cookie. Please tell your browser to ask > whenever to accept a cookie. That should show you if the cookie i

Re: Session and redirect oddity

2002-12-22 Thread Gerald Richter
> [13048]SES: Send Cookie -> > EMBPERL_UID=5a90da88079e1848df918cecd95d06a2; path=/; expires=+30m ok, so Embperl tries to send the cookie. Please tell your browser to ask whenever to accept a cookie. That should show you if the cookie is really send to your browser or not Gerald --

Re: Session and redirect oddity

2002-12-17 Thread Aaron Johnson
he udat values if the page is not > > completely rendered before a redirect or if that is at least the case in > > this instance. Is there something I send before the redirect to ensure > > the session values hold? > > > No > > > > How does a redirect and/or

Re: Session and redirect oddity

2002-12-16 Thread Gerald Richter
all > the other pages. > You may try to change it to /, just to be sure... > I am wondering now if Embperl flushes the udat values if the page is not > completely rendered before a redirect or if that is at least the case in > this instance. Is there something I send before the re

Re: Session and redirect oddity

2002-12-16 Thread Aaron Johnson
pull. When > > they go to the page with the query string it uses the session (%udat) > > to hold the information. I then check to see if the user is logged in. > > If the user is logged in they are sent to the correct report page. If > > the user is not logged in the user is

Re: Session and redirect oddity

2002-12-15 Thread Luiz Fernando B. Ribeiro
Em 13 Dec 2002 22:32:33 -0500 Aaron Johnson <[EMAIL PROTECTED]> escreveu: > I have setup an email that sends users a report URL and the URL > contains the query string to determine which report to pull. When > they go to the page with the query string it uses the session (%udat

Session and redirect oddity

2002-12-13 Thread Aaron Johnson
I have setup an email that sends users a report URL and the URL contains the query string to determine which report to pull. When they go to the page with the query string it uses the session (%udat) to hold the information. I then check to see if the user is logged in. If the user is logged in

  1   2   3   4   >