Hi guys,

In these days i needed to add a new built-in session manager in my
application and this module adds an addition tag <body> at the botton
of each page to persist the session token through the pages.
So, Each html response has this additional statement :

<body onbeforeunload="document.cookie = 'CookieName=' + top.window.name
+ ';Path=/';"></body>

this is responsible for automatically save the cookie each time the
onbeforeunload event of the body fire.
I have pratically 2 body tags in each page , one is the standard-one
and the other is the one added by the session manager module. I know
this is a non-standard use of the page but
i had no problems managing this trasparent adding in each page unless
using RegisterTypeForAjax. I dont know if inside the client side
registering of the ashx files there are some instructions that interact
with the body tag but, in each page i use RegisterTypeForAjax, i get a
Sysntax Error javascript error. Obviously when this happens no client
side includes are added for ajax.pro and i cant use asynchronous
functionalty at all.
I'm here to ask if you think i can find a workaround for this...
Any help will be really appreciated.

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/

The open source project is now located at 
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---

Reply via email to