asp classic - ASP script code inside ASP.NET page? -
how use asp code inside asp.net ?
is possible run asp script code inside asp.net page ?
if so, please give example.
thanks
-- asp code might this. how such such script inside asp.net ?
function changecolor(value, random) dim colorarray colorarray = split(value, ",") divblockcolor = colorarray(random mod (ubound(colorarray) + 1)) end function
i'm affraid isn't possible, asp code runs in different application environment asp.net. that's why example session("xyz")
not shared between classic asp , asp.net web pages in same website.
what could leave asp code in .asp page, , use forms post go , forth asp code. way not have rewrite entire .asp environment, , can migrate .net 1 bit @ time.
this way can leave existing code, , use simple javascript automatically submit forms, posting values .net
Comments
Post a Comment