Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ASP

Possibility to not use Apache::ASP's current generated Sessions IDs ?

 

 

ModPerl asp RSS feed   Index | Next | Previous | View Threaded


zist at hotmail

Aug 26, 2004, 2:02 AM

Post #1 of 2 (1434 views)
Permalink
Possibility to not use Apache::ASP's current generated Sessions IDs ?

Hello,

Is it possible to generate Sessions IDs (later on used in cookies)
through a different mechanism than the current one ?
I would need to use another algorithm.
It is probably necessary to change sessions.pm, any advice
on how to do it properly (especially how to bypass the current
validation checks on reception of a cookie and replace them with
another one) ?
Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe [at] perl
For additional commands, e-mail: asp-help [at] perl


josh at chamas

Aug 26, 2004, 12:06 PM

Post #2 of 2 (1323 views)
Permalink
Re: Possibility to not use Apache::ASP's current generated Sessions IDs ? [In reply to]

pipetous wrote:
> Hello,
>
> Is it possible to generate Sessions IDs (later on used in cookies)
> through a different mechanism than the current one ?
> I would need to use another algorithm.
> It is probably necessary to change sessions.pm, any advice
> on how to do it properly (especially how to bypass the current
> validation checks on reception of a cookie and replace them with
> another one) ?
> Thanks
>

There is no good way to override the behavior of sessions.
What is the need that you have in particular?

If you want fine grain control of how the sessions are implemented,
you might try turning sessions off in Apache::ASP, and hooking up
Apache::Session to global variable of your choosing in global.asa
Script_OnStart event. Apache::Session has a well documented API
that you can customize through overriding methods in your
own subclasses.

Regards,

Josh
________________________________________________________________________
Josh Chamas, Founder | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com | Apache::ASP - http://www.apache-asp.org


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe [at] perl
For additional commands, e-mail: asp-help [at] perl

ModPerl asp RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.