Return to Topic Index


Session Info Lost

Brruce Knox




6/21/05@10:01

The discussion board I am trying to set up is one where access is restricted to only authenticated users who, once authenticated, are given a session id. Including the code and passing the session info is fine except when writing a new thread/post. The form action on newitem.html has all the session info but when it is submitted it gets lost, so when the user gets returned to the index.html page they get kicked out by my session checking coding as an unauthorised user. I have also tried to hard code in the session info to newitem.html, but again this gets lost upon submission. My suspicion is that the cgi action is not passing this stuff on, is there a way this can be done??? Regards Bruce
Brian Johnson




6/21/05@10:12
I think your suspicion is correct.

The "supported" mechanism for assuring "members only" access with ConferWeb is to use an http "realm" (i.e., an .htaccess file). These files may be re/written in real time, so if you have a "login" page in front of the ConferWeb forum, it should be possible to make this work.

Having said that, I suspect you are using PHP for the session info, and passing the session ID as part of the URL as a search argument? If so, you and ConferWeb are both trying to use the same mechanism, and I suspect there are some fundamental problems.

I'd be happy to look at this a bit more deeply but need to know more about the technique you are using, and you need to know that I will be "off line" for most of the next 2.5 weeks, as I was for the last week (backpacking).

Bruce Knox




6/30/05@00:10
Thanks Brian - but I figured it out, I thought I was setting a session and a cookie but I wasn't setting the cookie properly - now all appears OK. Many thabks for your help and enjoy your backpacking!
Dirk


blaufix@g-mail.de

3/14/06@09:58
Nun, dies ein Test aus Deutschland
dirk




3/14/06@09:58
swadsand,masnd




Add Your Own Response!

Your Name:
Your Email: (optional)
Your Response:

in
HTML
or
Plain text


[Administration]