try { if ( Request.QueryString["token"] != null ) { GAuthSubRequestFactory authFactory = new GAuthSubRequestFactory("lh2", "wedding_organizer"); authFactory.Token = profile_c.google_token; service.RequestFactory = authFactory; AlbumQuery q = new AlbumQuery (PicasaQuery.CreatePicasaUri(username)); PicasaFeed feed = service.Query(q); // first try is ok feed = service.Query(q); // checking for session - exception is here! have_an_access = true; } } catch (Exception ex) { authSub_url = AuthSubUtil.getRequestUrl (HttpContext.Current.Request.Url.AbsoluteUri, "http:// picasaweb.google.com/data/",false, true); }
------------------------- Why I can't do a query twice or more? Does Google support sessions? -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to google-picasa-data-...@googlegroups.com. To unsubscribe from this group, send email to google-picasa-data-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-picasa-data-api?hl=en.