[allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => BSterner [ip] => joenobody720@ex [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => 1 [isfirstshown] => [attachments] => [allattachments] => ) --> Prevent URL copy and paste - Coldfusion - Advanced Techniques

Prevent URL copy and paste - Coldfusion - Advanced Techniques

Hi All, How to prevent a user from accessing the site when he/she copy and paste the URL address to get into the site. They should only login to get to the site. I am using session and client management. If they have already logged in and then copy the url and paste in a new window I should stop them getting inot the site. Any Suggestion or Ideas ? Thanks...

  1. #1

    Default Prevent URL copy and paste

    Hi All,

    How to prevent a user from accessing the site when he/she copy and paste the
    URL address to get into the site. They should only login to get to the site. I
    am using session and client management. If they have already logged in and then
    copy the url and paste in a new window I should stop them getting inot the
    site.

    Any Suggestion or Ideas ?

    Thanks


    CFRAM Guest

  2. #2

    Default Re: Prevent URL copy and paste

    Are you using "<cflogin>"?
    BSterner Guest

  3. #3

    Default Re: Prevent URL copy and paste

    No. We are using database authentication.
    CFRAM Guest

  4. #4

    Default Re: Prevent URL copy and paste

    You can use both. The cflogin tag simply forces a certain segment of code to
    get executed if the user is not "logged in". You put it in the Application.cfm
    file in a directory you want to protect.




    <!--- The following code only gets executed if user has not been logged in
    using "<cfloginuser>" tag,
    or if their cflogin session times out or if you log them out manually using
    "<cflogout>". --->
    <cflogin idletimeout="1200" applicationtoken="someval">
    <cfif not isDefined("FORM.username") or not isDefined("FORM.password")>
    <cfinclude template="loginForm.cfm">
    <cfabort>
    <cfelse>
    <!--- Code to authenticate user in db goes here.
    You can set a flag to check at end of cflogin code, redirect
    using cflocation, or handle it as you like. --->
    <cfloginuser name="#FORM.username#" password="#FORM.p#" roles="">
    </cfif>
    </cflogin>

    BSterner Guest

Similar Threads

  1. Copy and Paste from Illustrator
    By Rg. in forum Macromedia Freehand
    Replies: 7
    Last Post: September 7th, 08:11 AM
  2. cannot copy or paste
    By brinyside in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: August 22nd, 06:20 AM
  3. can't copy and paste
    By Jean Y in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: July 23rd, 03:47 PM
  4. Copy & Paste
    By ploughman1 in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: October 13th, 07:50 AM
  5. Copy/Paste to PSP
    By EngMajor webforumsuser@macromedia.com in forum Macromedia Freehand
    Replies: 2
    Last Post: September 19th, 08:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •