How to bypass the log in on webcalendar

Posted on 2011-05-12
Last Modified: 2012-05-11
I have a website with a decent user management system, usernames, passwords, userlevels, etc.  Now I am trying to add in a webcalendar so I found this one and implemented it.

It is really amazing, I like it.  However, I would like to integrate my old user management system in with this web calendar so that I don't have to have my users log in twice, once to my site then to the calendar.  I found a link on his wiki that explains how to do this:

However, that still doesn't accomplish what I want, I want all users to have all permissions on the calendar (same permissions as "webadmin") and I don't want them to have to log in at all.  This is a pretty big problem to figure out.  If anyone is willing to take a look at it I am very great full.  
Question by:jbpeake
    LVL 107

    Expert Comment

    by:Ray Paseur
    The discussion on the AuthDb page looks pretty straightforward.  Have you tried to follow those step-by-step directions?

    Author Comment

    Hello Ray,

    Yes, they are very good directions, and I have been able to follow them and achieve authentication of my users from my users table instead of his users table.  My problem is that once my users log in to the site they still have to log in again to use the calendar, even though it is the same username and password it would be easier if they didn't have to log in to the calendar at all.  I have their username and password as variables in a session so I tried passing their username and password as a variable to calendar log in page, but I cannot get that to work.  I think it is because my log in system to the site starts a session and then the calendar log in system tries to start another session.  I'm not sure, I realize I'm asking a big question with not enough detail... I'll keep working on it and try to come back with a more specific question.  Thanks for the response.
    LVL 107

    Accepted Solution

    Here's a potentially useful tool... Try using var_dump($_SESSION) at various places in the code.  Perhaps you can find where the calendar log in page is looking for authentication and bypass that step or create the calendar's login information  if the credentials are already in the session.  Something similar to that seems to be discussed on this page:

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    The viewer will learn how to count occurrences of each item in an array.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now