Results 1 to 5 of 5

Maintaining session id with links in FCKeditor content

This is a discussion on Maintaining session id with links in FCKeditor content within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi, heres a curly one... When i add a link in content generated by FCKeditor it will terminate the user ...

      
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    32
    Rep Power
    0


    Default Maintaining session id with links in FCKeditor content

    Hi, heres a curly one...

    When i add a link in content generated by FCKeditor it will terminate the user session if they follow it (with the normal consequences of losing the cart contents for guests and logging out customers).

    I understand how to maintain the session id using the tep_href_link function, but it is not possible to embed the php in the FCKeditor source without it being mutated! Regardless, even it could be successfully embedded, in general the content it generates (eg category descriptions, articles) is passed to the SQL database and called from php when it is parsed, so any php called from the database would not be parsed a second time if that makes sense.

    I don't have a problem with the static content pages I have added as I can edit them directly. But I am at my wits end for content that must go via FCKeditor and the database.

    As an example check out this newsletter content - which is stored using the article manager:

    http://www.craftainers.com.au/articl...?articles_id=2

    As compared with this static page I have updated, which maintains the session id:

    http://www.craftainers.com.au/tour.php?

    The obvious concern here is the frustration it generates from customers must result in lost sales.

    Any thoughts?
    Regards
    Tim

  2. #2
    Member
    Join Date
    Jul 2005
    Posts
    32
    Rep Power
    0


    Default

    Well I have continued to look at this, but can now declare myself officially stumped.... any thoughts or suggestions much appreciated. At this stage my conclusion is that it is not possible to maintain session id's for links generated through FCKeditor.

    Cheers
    Tim

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Yes that is true - as FCK is a STATIC HTML editor - that meaning that you can't use PHP code inside of it or any other variable. Every link has to be a static link and the same for everyone. You might want to look at storing the sesion in cookies only.....(force cookies...) but that has enought problems.....
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Yep, you cannot use the html editor for dynamic content. You will need to code a php page for that....
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Jul 2005
    Posts
    32
    Rep Power
    0


    Default

    Thanks for the feedback, as ever much appreciated. osCMax is a great system, well done.

    Cheers
    Tim

Similar Threads

  1. FCKeditor 2.2
    By cameroti in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-03-2006, 04:56 PM
  2. FckEditor Issues
    By netfrugal in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 02-14-2006, 01:08 AM
  3. FCKEditor and forms
    By cacooke in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 01-05-2006, 08:16 AM
  4. SSL Errors, Session Cookie, Session Cache, NOVICE Problems?
    By hanool in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-07-2003, 12:49 PM
  5. Links not working with osCsid session id
    By MG in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-02-2003, 11:06 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
  •