You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jaikishan Jalan <ja...@gmail.com> on 2009/08/28 00:29:47 UTC
[users@httpd] How to maintain session with CGI C++
Hello,
I was wondering if somone could point me as to how to maintain sessions with
CGI scripts in C++.
--
Thanks,
Jaikishan
Re: [users@httpd] How to maintain session with CGI C++
Posted by Jaikishan Jalan <ja...@gmail.com>.
Yes, even I want to make use of Session module of Apache HTTP server. But I
am not able to locate it. I know how to add/load a module in Apache but I
could not locate the session module. Following are the modules in my apache
server but I think session module is not there (looking for mod_session.c).
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_groupfile.c
mod_authz_user.c
mod_authz_default.c
mod_auth_basic.c
mod_include.c
mod_filter.c
mod_log_config.c
mod_env.c
mod_setenvif.c
mod_version.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
I am using Apache server version Apache/2.2.13 (Unix). Any pointer where and
how can I add session module ?
On Thu, Aug 27, 2009 at 7:06 PM, Nick Kew <ni...@webthing.com> wrote:
> Jaikishan Jalan wrote:
>
>> Hello,
>>
>> I was wondering if somone could point me as to how to maintain sessions
>> with CGI scripts in C++.
>>
>
> Same as with CGI in any other language (google is your friend).
>
> But why not use an existing framework to maintain sessions,
> and just use a session token from that in your CGI?
> For example, Apache's mod_session.
>
> --
> Nick Kew
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Thanks,
Jaikishan
Re: [users@httpd] How to maintain session with CGI C++
Posted by Nick Kew <ni...@webthing.com>.
Jaikishan Jalan wrote:
> Hello,
>
> I was wondering if somone could point me as to how to maintain sessions
> with CGI scripts in C++.
Same as with CGI in any other language (google is your friend).
But why not use an existing framework to maintain sessions,
and just use a session token from that in your CGI?
For example, Apache's mod_session.
--
Nick Kew
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org