Hi,
We're right at the final stage of integrating cuteeditor into our CMS. The CMS works by setting the session variable "regid" to the customers relevant registration id. This occurs as part of their secure login process. This works happily throughout the site.
In the news editor the user can create an instance of the Cute Editor for editing rich HTML pages and this part works. However, when they go to browse images - specifically to upload an image when the "main" part of CuteEditor creates an instance of our custom class (SQLFileStorage.vb - converted from the demo SQLFileStorage.cs) we find that when we try and reference the session;
Public Sub New(ByVal context As HttpContext)
MyBase.New(context)
llngRegID = context.Session("regid")
We get an error because the session object of the context is blank. All the other objects of the context object seem correct(application etc) but the session appears to have been trashed.
I've tried adding a break point on the "session on start" in case your cute code (is it doing the creation in AJAX style and creating a new session?) is creating a new session rather than staying in the existing context but it doens't create a new session so I'm presuming not.
Is there a reason why this session state isn't maintained when using a custom provider ? Is it possible to pass in any other parameters to the customer provider - if so we'd just pass in our own at this point, but I guess that'd involve hacking the CuteEditor code, which we'd like to avoid if at all possible to reduce maintenance on updates.
Thanks in advance,
Andy