Do you know if there is some problem in use the PRIVATE/ENCODED in a page with frames? Let me explain: I have the "login.csp" page and it doesn�t have any kind of attribute (PRIVATE/ENCODED). A method is executed and if the username and the password are ok, the user is redirected to another page, called "menu.csp". But this page calls "menuInf.csp" and "menuSup.csp" because they are frames inside the "menu.csp". The pages "menuInf.csp" and "menuSup.csp" are PRIVATE=1 ENCODED=1. The "menu.csp" dont�t have any PRIVATE/ENCODED attribute and this lets the user log into the application (putting the full URL in the browser) without typing username and password. Due to this, some functions are available and others are not, but anyway tha user has an access... and I want to deny the possibility of entering in the application with no data in username and password. The problem is if I use PRIVATE/ENCODED in "menu.csp", I get the "Illegal csp request" error. Do you know what should I do?
Thanks, Leonardo "Nuno Canas" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > You have to recompile your target page in order to get it right @ the > right time. > > Try to use ..Link() Method. > > Nuno > > Leonardo J. Tramontina wrote: > > > I'm in doubt about two thing in csp pages: > > > > 1) the first time I execute a csp page in the browser, the "Illegal csp > > request" error appears. This used to happen due to the > > <csp:CLASS PRIVATE="1" ENCODED="1"> tag. But now it is happenning all the > > time, no matter the PRIVATE and ENCODED values I setup. The solution is > > close the browser or refresh the page abou 2 or 3 times. > > Does this happen because Cach� is still creating the csp.<package>.<class> > > class??? I don't remember this in Cach� 4... > > > > > > 2) I have two javascript functions, one to ADD and other to EDIT children of > > a parent/children relationship. > > The login page has <CSP:CLASS PRIVATE="0" ENCODED="1"> > > And all the other pages have this tag: <csp:CLASS PRIVATE="1" ENCODED="1"> > > Both funcions are similar to this: > > ... > > ... > > page='#url(phone.csp)#' + "&Person=" + PersonID; > > > > window.open(page,'pop','height=480,width=550,toolbar=no,location=no,director > > ies=no........); > > ... > > ... > > > > The problem is the URL is not being encoded (the CSPToken does not appear) > > and the page is not found. Instead of the URL stay like this: > > ............phone.csp?CSPToken=Ddu47e7rit......Fw7U/VOs-&OBJID=184&Person=23 > > ^ > > ^ ^ > > > > It is like this: ..............phone.csp&OBJID=184&Person=23 > > ^ ^ > > that results in a "page not found error" > > > > > > Thanks in advance, > > Leonardo > > > > >
