• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

How to bypass the log in on webcalendar

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.  

http://www.k5n.us/wiki/index.php?title=Main_Page

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:  http://www.k5n.us/wiki/index.php?title=AuthDb

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.  
0
jbpeake
Asked:
jbpeake
  • 2
1 Solution
 
Ray PaseurCommented:
The discussion on the AuthDb page looks pretty straightforward.  Have you tried to follow those step-by-step directions?
0
 
jbpeakeAuthor Commented:
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.
0
 
Ray PaseurCommented:
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:
http://www.k5n.us/wiki/index.php?title=Automatic_Logins
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now