Hi All,
I installed a new instance of DNN 3.3.7 and i built a new skin which was simple and easy. the skin contains a dynamicly generated image (header image).
this image should render the current Page title based on a special font. so i crossed my fingers and pointed to GDI+ and HttpHandler. and i built a handler that works with the following verbs
<add verb="*" path="*.pagetitle.aspx" type="ImageTitleHandler.myHandler,ImageTitleHandler" />
and added the dll file to the bin folder of the DNN project and append the httphandlers section at the web.config
it was perfectly done. and i got the image in the skin object as follows
<ack:PAGETITLE runat="server" id="mypagetitlte"></ack:PAGETITLE>
where PAGETITLE is a skinobject that read the activetab.title and give it as an image source to the <image runat="server" id="myImage">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
TryCatch exc As ExceptionMe, exc)
myImage.Src = "~/" & PortalSettings.ActiveTab.Title & ".pagetitle.aspx"
ProcessModuleLoadException(
End TryEnd Sub
everything was perfectly working. and pretty nice. untill the stage that i created a child portal (portals/1) which i create based on a template that exacltly contains the same strucutre of the (portals/0)
and i copied the same skins folders that i used for (portals/0) to the skins folder under portals/1 since i was using the skins under the Site for each.
but i found that the new admin user of the (portals/1) is losing his logging session on every request. and after hours of stuggeling. the problem solved once i removed the pagetitle skin object from the skin file which use the httpHandler. so if i did use that skin object in my skin (admin user will loose his session on every login) only at the (portals/1) instance. while it works fine with any admin user in (portals/0). and the strange is superUser (HOST). hadn't that problem with both instances (portals/1) and (portals/0)....
is there any role permission for the handlers ???? or should i do anything to the web.config related to the new instance (portals/1) ???
any input please ??