[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Do not create session
Quoting Kyle Cook (kyle@invisio.com):
> At 01:35 PM 6/29/01, Bill Carr wrote:
> >How do I make interchange not create a session file for a page request
> >based on either the client host address/network or by the page requested?
> >
> >I have set up my LVS to request IC pages from the real servers. This way
> >if IC is down on a particular server that server is taken out of the LVS
> >pool. The LVS checks every minute. Many session files are being created. I
> >do not want to create a session file for the LVS host. I can control the
> >page the LVS checks so if there is anything I could put on a page to
> >suppress the creation of the session file that would be great.
> >
> >I hope I not just being dense. I looked around but could not find a way to
> >do this.
> >
>
> I don't know that there is a way to do this, I think by default ALL
> requests will use/create a session id BEFORE any page
> parsing....maybe someone else knows...?
>
One way, if you have the INET server running, is to request an
HTTP page from Interchange. Just place a file called ok.html with
some small bit of text in the ICROOT/doc directory and ask for
http://your.server.com:7786/ok.html
Also, requesting a non-existent catalog gets you the "undefined catalog"
error, which tells you that the server is alive. This does log a line
to error.log, though.
I have also often thought about putting a "mv_no_session" variable
in, which would inhibit creation of a session file. There are security
considerations to this, though, which is the reason I have not done it
to date.
--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH 45013
phone +1.513.523.7621 <mheins@redhat.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer