Print Page | Close Window

RTE_Setup problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=28358
Printed Date: 28 March 2026 at 5:51am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: RTE_Setup problem
Posted By: zaphod
Subject: RTE_Setup problem
Date Posted: 24 February 2010 at 12:31pm
Hi,
 
I have a problem with the RTE setup file. I want to use the product to enable members of the website to author content shown on their webpages. There are a series of variables in the RTE_setup.asp file I need to configure dynamically, related to the user who is logged on. This is available as a session.
What I really want to do is change the value of "my_documents" to the value of session ("member") for the following.
 
Const strSaveFileFolderPath
Const strOpenFileFolderPath
Const strFileUploadPath
Const strImageUploadPath
 
A folder named session(member) exists in the RTE directory.
 
I have tried the following but get errors. e.g
 
Const SaveFileFolderPath=session("member")
 
and also
 
SaveFileFolderPath=session("member")
Const SaveFileFolderPath=SaveFileFolderPath
 
but I always get errors.
 
Can you help?
 
regards
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 24 February 2010 at 12:54pm
A Const variable is a constant which is like a read-only variable and can not be changed once set.

You would need to change the Const to Dim and set the variables content on a different line eg:-

Dim strSaveFileFolderPath
strSaveFileFolderPath = session("member")


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: zaphod
Date Posted: 25 February 2010 at 3:18am
Hi,
 
thanks for the assisitance. Timely and useful as usual. An excellent product.
 
regards
 
Zaphod


Posted By: nubishsha12
Date Posted: 17 April 2010 at 5:54am
thanks for the assisitance



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net