MasonX-Apache2Handler

 view release on metacpan or  search on metacpan

htdocs/WithApache2Session.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Beau E. Cox &gt; MasonX-Request-WithApache2Session-0.04 &gt; MasonX::Request::WithApache2Session</title>
<link rel="stylesheet" href="pod.css" type="text/css" />
<link rev="made" href="mailto:test@cathy.beaucox.com" />
</head>

<body>
<table class="hdrtable" cellspacing="0" cellpadding="0" border="0"
width="100%">
<tr><td>Beau E. Cox &gt; MasonX-Request-WithApache2Session-0.04 &gt; MasonX::Request::WithApache2Session</td></tr></table>


<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#usage">USAGE</a></li>
	<li><a href="#methods">METHODS</a></li>
	<li><a href="#configuration">CONFIGURATION</a></li>
	<ul>

		<li><a href="#generic_parameters">Generic Parameters</a></li>
		<li><a href="#cookierelated_parameters">Cookie-Related Parameters</a></li>
		<li><a href="#urlrelated_parameters">URL-Related Parameters</a></li>
		<li><a href="#apache__sessionrelated_parameters">Apache::Session-related Parameters</a></li>
	</ul>

	<li><a href="#how_cookies_are_handled">HOW COOKIES ARE HANDLED</a></li>
	<li><a href="#support">SUPPORT</a></li>
	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
</ul>
<!-- INDEX END -->

<table class="h1table" cellspacing="0" cellpadding="0" border="0"
width="100%">
<tr><td><a name="name">NAME</a><a name="__H1_1__">&nbsp;&nbsp;</a><a href="#__index__"><img alt="top" src="up.gif" border="0" /></a></td>
</tr></table>
<p>MasonX::Request::WithApache2Session - Add a session to the Mason Request object</p>
<p>
</p>
<table class="h1table" cellspacing="0" cellpadding="0" border="0"
width="100%">
<tr><td><a name="synopsis">SYNOPSIS</a><a name="__H1_2__">&nbsp;&nbsp;</a><a href="#__index__"><img alt="top" src="up.gif" border="0" /></a></td>
<td align="right" class="ref_back_color"><a href="#__H1_1__"><img alt="top" src="up.gif" border="0" /></a>&nbsp;&nbsp;NAME</td>
</tr></table>
<p>In your <em>httpd.conf</em> file:</p>
<pre>
  PerlSetVar  MasonRequestClass         MasonX::Request::WithApache2Session
  PerlSetVar  MasonSessionCookieDomain  .example.com
  PerlSetVar  MasonSessionClass         Apache::Session::MySQL
  PerlSetVar  MasonSessionDataSource    dbi:mysql:somedb</pre>
<p>Or when creating an Apache2Handler object:</p>
<pre>
  my $ah =



( run in 0.693 second using v1.01-cache-2.11-cpan-119454b85a5 )