Ask a Question related to Coldfusion Security, Design and Development.
-
maslinc #1
CFCONTENT logs people out
Our site allows members to download mpg files through cfcontent. Our basic
code is:
<CFSET TEMP_PATH=GetDirectoryFromPath(GetCurrentTemplateP ath()) &
"../VideoFolder">
<CFSET DownloadFile="#temp_path#\#VideoURL#">
<CFHEADER NAME="Content-Disposition" VALUE="inline;filename=#VideoURL#">
<CFCONTENT TYPE="media/mpg" file="#DownloadFile#" deletefile="no">
In our application.cfm file, we set our member log in status to no by default
with
<CFPARAM NAME="SESSION.Auth.IsLoggedIn" default="NO">
And when they log in, we set the variable to logged in with:
<CFSET SESSION.Auth=StructNew()>
<CFSET SESSION.Auth.IsLoggedIn="Yes">
This all works great on my computer but I have discovered that for some
members, once they download a video using the cfcontent server, they are
automatically logged out and have to log in again to view additional videos.
Does anyone have any ideas as to why this happens and how to fix it. I cannot
recreate this problem on my computer but I know it is happening with many of
our members.
Thanks for any help!
Coop
maslinc Guest
-
FLV and cfcontent
I've been attempting to use cfcontent to supply an FLV file to a flash application. I can't seem to get it to work. Does anyone have an example of... -
cfcontent - help please
Hi In my database there is a field which has links to articles #productdescription#- these articles have been saved as simple text. When a user... -
CFCONTENT
Hello, Is it possible to use <CFCONTENT> within a frame or table layout? seems when I run my code (which is a pop up window), the <cfcontent>... -
why use cfcontent?
Why would one use cfcontent insead of of using cfheader? Sorry if this eems like a daft question but they seem to be the same thing to me. -
CFCONTENT and SSL
I've read several online forums concerning the CFCONTENT - PDF problem but haven't seen anything similar to the problem I'm having... I'm...



Reply With Quote

