I used vs 2008 to develop my web site with calendar service.
In Page_Load() function, I want to automatically redirect user's page
to Google authentication page.
==
if (Request["token"] == null)
{
Response.Redirect(AuthSubUtil.getRequestUrl
(strNextUrl,
"http://
www.google.com/calendar/feeds/",
false,
true));
}
else
Session["token"] = AuthSubUtil.exchangeForSessionToken
(Request["token"].ToString(), null).ToString();
==
In virtual web server (including in VS 2008), this code can be worked
well.
However, exchangeForSessionToken() will throw a IOException[message:
The handshake failed due to an unexpected packet format] after I
published to IIS 5.1.
Did I miss some important steps?
Thanks. :-)
--
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.