Bypass login for all users except two groups.. |
2/10/2009 07:33:52 | |
| PHPRunner General questions | ||
|
N
nickc25 author
Hi |
||
|
N
|
nickc25 author 2/10/2009 |
Hi I am setting up a villa website. Only two groups need to be able to add and edit things, these are admin and villa owners. Villa owners can only add and edit their own but see other records, I think those permissions are fine. Admin can admin all. Then this is the tricky part which I cant figure out. Regular users need to be able to browse the site, search for a villa and click on them to view them. Within the villa needs to be an enquiry form which would send an email to the specific villa owner who entered the advert for that villa. The problem I am having is when not logged in a as a guest, if you click on "send enquiry to villa owner" it then says session expired. I want to be able to put a link on my html homepage like "villa search" which would then take people to the following link: http://www.floridadreamsvillas.com/villase...erties_list.php Then for example someone would click on the first one on the list, have a look at it and go back to the top and click send enquiry to villa owner. It should then bring up a form for someone to fill in and that form should then be emailed to that specific villa owner. But when not logged in, I am getting "session expired" message. Anyone know why this happens? I have set permissions for default group to be able to add records. Thanks Nick EDIT: It says "session expired" when logged in as a guest too
|
|