Hi again
It seems umbraco needs a user contextid. When I try to access the document with the folowing URL:
/1050.aspx?umbVersion=ac15b364-79fc-4779-9192-f54c0fcfe3c9
I get an exception: The user han no umbraco contextid.
Now I have altered my request so that in the code I do the following
Code:protected void Page_Load(object sender, EventArgs e)
{
int currentDoc = Int32.Parse(Request["id"]);
Document doc = new Document(currentDoc);
string docVersion = doc.Version.ToString();
string contextId = umbraco.BasePages.BasePage.umbracoUserContextID;
litFlashScript.Text = GenerateFlashScript(string.Format("/{0}.aspx?umbVersion={1}&contextid={2}", currentDoc, docVersion, contextId));
}
Thereby the URL I try to access looks something like this:
/1050.aspx?umbVersion=ac15b364-79fc-4779-9192-f54c0fcfe3c9&contextid=04a19fdb-0e18-4705-a051-4844ed5379e4
But now I get the following exception:
Code:
User has timed out!!
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: User has timed out!!
Anybody who might have an idea what to do???
Thanks a lot :o)
/Kim