Could aspx.page object conflict with a variable na

dodi300

New Member
The msdn.microsoft.com article about ASP+ introduces the Page object (aspx.page). We have written many ASP pages which define a script variable named Page, as follows:<BR><%<BR>Class PageProperties<BR>Public OneProperty<BR>end Class<BR>Set Page = new PageProperties<BR>Page.OneProperty = "One Value"<BR>%><BR>Do we have to replace our variable named "Page" with some<BR>other one, (e.,g., "myPage") or are there any other ways (e.g., namespaces) to avoid conflicts when migrating from ASP to ASP+?<BR><BR>Thanks,<BR><BR>Giovanni FlammiaYou will have to rename the variable. The Page object is part of every ASP+ component. I ran into the same problem migrating where I had a variable "Error". ASP+ didn&#039t like that at all.<BR><BR>Doug Seven<BR>CodeJunkies.Net / ASPNextGen.com<BR>[email protected]
 
Back
Top