Re: How do I get hold of session information?

2010-10-19 Thread Ben Noordhuis
On Tue, Oct 19, 2010 at 17:30, Paul Donaldson wrote: > Thank you. I will take a look at mod_session. Will my module be able to check > if > mod_session is "enabled" (sorry, I don't know the Apache terminology) and, if > it > is, talk to it and ask it for what it has stored in its session? Yes.

Re: How do I get hold of session information?

2010-10-19 Thread Paul Donaldson
Thank you. I will take a look at mod_session. Will my module be able to check if mod_session is "enabled" (sorry, I don't know the Apache terminology) and, if it is, talk to it and ask it for what it has stored in its session? From: Ben Noordhuis To: modules

Re: How do I get hold of session information?

2010-10-19 Thread Ben Noordhuis
On Tue, Oct 19, 2010 at 17:05, Paul Donaldson wrote: > I assume that if I were to make a request to a web site hosted on Apache then > the capability exists for one of the server side web pages to create a session > and store some piece of data in it. What I want to do in my module is get hold > o

Re: How do I get hold of session information?

2010-10-19 Thread Paul Donaldson
In a Java servlet I may do something like this to get hold of the session on the web server: public void doPost(HttpServletRequest req, HttpServletResponse res) throws java.io.IOException { HttpSession session = request.getSession(true); Cart cart = (Cart)session.getAttribute("cart"); ... and

Re: How do I get hold of session information?

2010-10-19 Thread Eric Covener
On Tue, Oct 19, 2010 at 9:36 AM, Paul Donaldson wrote: > Hello, > > I have a module that does little more than take the information in the http > request and forward it to another web site. I can get information from the > query > string easily enough, but is there any way I can get information a

How do I get hold of session information?

2010-10-19 Thread Paul Donaldson
Hello, I have a module that does little more than take the information in the http request and forward it to another web site. I can get information from the query string easily enough, but is there any way I can get information about the session, and data stored in it? Thanks, Paul