After submit, session is removed from form and stored in querystring?

Jun 1, 2010 at 6:47 PM
Edited Jun 1, 2010 at 7:31 PM


I've recently upgraded to newest build from SVN. After that, whenever submitting my ASP.NET form, I can see (using Trace) that the session info moves from the form to my querystring (it becomes<app>/Default.aspx?session={.......}). This only happens when I set RequireLogin = true (to be able to save the users id). When its false, the post completes flawlessly

Has anyone else experinced this, and also got past it?

Im using FBML, out of canvas

Jun 1, 2010 at 10:11 PM

This is so weird. Tried to go back some revisions from SVN, without luck, so reverted to newest. Also made minor changes to code. Now the page ONLY saves data when the session is stored in the querystring (and also present in form).

When I access my page which contains RequireLogin = true, session is stored in form. When I submit my data, the page just reloads without ever getting to my save-method but has now inserted the session content in querystring too. If I once more click Save, then it correctly saves.

I have to get this done by tomorrow .. hope someone could help me with some pointers ..


Jun 2, 2010 at 12:15 PM

It has something to do with using the new SDK (set in Settings for app).

I'll continue my search ... :)

Jun 2, 2010 at 11:09 PM
Works now. Not sure what did it. I downloaded newest source and compiled it (only 1 changeset from the previous one I used). Started a new projekt and a new application on Facebook (not using new SDK, as on previous solution) and slowly transferred the parts from my faulty solution, to the new one. Suddenly all was transferred and worked perfectly. Hmf I could have used all those hours on watching some nice porn instead.