<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Dynamic image directories in ActivEdit</title>
</head>
<body>
<%
Session("userid") = "1"
imageurl = "/images/index.html" + Session("userid") + "/"
imagepath = "c:Inetpubwwwrootimages" + Session("userid")
%>
<%
Set ae= Server.CreateObject("CFDEV.Activedit")
ae.AllowEditSource=true
ae.BaseURL="http://localhost"
ae.Border="1px solid black"
ae.BreakOnEnter=true
ae.Width="50%"
ae.Height="50%"
ae.Name="test"
ae.Inc="inc/"
ae.ImagePath=imagepath
ae.ImageURL=imageurl
ae.AllowUpload=true
ae.Toolbar="quickformat,quickfontsize,|,cut,copy,paste,|,redo,undo,|,font,bold,italic,underline,|,outdent,indent,|,justifyleft,justifycenter,justifyright,bullets,|,table,image,hyperlink,|,find,help"
ae.Content="Default Content"
%>
<form action="/support/kb/indexcfm/fuseaction/single/id/1024/action.html" method="post">
<% ae.Write() %>
<INPUT TYPE="SUBMIT">
</form>
</body>
</html>