Hi Atiq, It sounds like you are referring to this sample code from (http:// code.google.com/apis/calendar/developers_guide_php.html#AuthAuthSub):
$next = getCurrentUrl(); $scope = 'http://www.google.com/calendar/feeds/'; $secure = false; $session = true; return Zend_Gdata_AuthSub::getAuthSubTokenUri($next, $scope, $secure, $session); You can set the $next variable to whatever URL is appropriate for your web application. If that URL is always http://mydomainname.com/Calender.php, you could just hard code it to that value. Cheers, Lane On May 22, 10:25 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi > Am using Zend framework for implementation of Calendar API, > unfortunately am facing issues returning to my actual webpage after > login in to my gmail account for Calender service . > > e.g > my current url ishttp://mydomainname.com/Calender.php > > when i am directed to gmail login i get the following URL > > https://www.google.com/accounts/AuthSubRequest?next=http%3A%2F%2Fwww.... > > as you can notice the "Calendar.php" is missing from the value for the > 'next' variable. I went through the documentation and it just mentions > that it uses getCurrentURL to get the value for the 'next' vairable. > > If i add in "Calendar.php" to the value of variable 'next' it workings > fine and directs me to the original page after successful login > otherwise it gives me an error > > Can anyone help me on this > > Thanks in advance > > Atiq --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
