How to maintain session with CGI C++

How to maintain session with CGI C++

am 28.08.2009 00:29:47 von jjalan

--0016e648f5deec550e0472271a1b
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I was wondering if somone could point me as to how to maintain sessions with
CGI scripts in C++.

--
Thanks,
Jaikishan

--0016e648f5deec550e0472271a1b
Content-Type: text/html; charset=ISO-8859-1

Hello,

I was wondering if somone could point me as to how to maintain sessions with CGI scripts in C++.

--
Thanks,
Jaikishan


--0016e648f5deec550e0472271a1b--

Re: How to maintain session with CGI C++

am 28.08.2009 02:06:17 von Nick Kew

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

Re: How to maintain session with CGI C++

am 28.08.2009 02:38:07 von jjalan

--0016e64b9364e345f7047228e5db
Content-Type: text/plain; charset=ISO-8859-1

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

--0016e64b9364e345f7047228e5db
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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)=
..


=A0 core.c
=A0 mod_authn_file.c
=A0 mod_authn_default.c
=A0 mo=
d_authz_host.c
=A0 mod_authz_groupfile.c
=A0 mod_authz_user.c
=A0 =
mod_authz_default.c
=A0 mod_auth_basic.c
=A0 mod_include.c
=A0 mod=
_filter.c
=A0 mod_log_config.c

=A0 mod_env.c
=A0 mod_setenvif.c
=A0 mod_version.c
=A0 prefork.c r>=A0 http_core.c
=A0 mod_mime.c
=A0 mod_status.c
=A0 mod_autoinde=
x.c
=A0 mod_asis.c
=A0 mod_cgi.c
=A0 mod_negotiation.c
=A0 mod_=
dir.c
=A0 mod_actions.c

=A0 mod_userdir.c
=A0 mod_alias.c
=A0 mod_so.c

I am using Apac=
he 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 < m">nick@webthing.com> wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>Jaikishan Jalan wrote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,



I was wondering if somone could point me as to how to maintain sessions wit=
h 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.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0" =A0 from the digest: httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org






--
Thanks,
Jaikishan >

--0016e64b9364e345f7047228e5db--