> *       Another strange problem that I am spending a lot of time on is the
> following example.  On the same template I would have the following:
>             <form action=�index.cfm?&#request.urltoken#� method=�post�>
>                         <input type=�hidden� name=�fuseaction� value=�
> displayProjectDetails�>
>                         <input type=�submit� name=�submit� value=�
> ProjectDetails�>
>             </form>
>
>             <a href=�index.cfm?fuseaction=�displayProjectDetails�
> &#request.urltoken#>ProjectDetails</a>
>
> *       The submit button works but the link doesn�t.  Sure it gets to the
> proper template but the session variables are suddenly not
> defined.  I don�t
> understand why the persistencie of the session variable is
> suddenly lost in
> space.

In this example above there are "" in the <a> that shouldn't be there.
Should be
        <a href=�
index.cfm?fuseaction=displayProjectDetails&#request.urltoken#>ProjectDetails
</a>

Also, is there a <cfoutput/> wrapped around this? Check the URL of the page
looks right.

> *       I am also using request variables.  Actually, I am under the
> assumption that request variables stores values on the local
> workstation and
> not on the server as it is with session or client variables.  I am
> attempting to use only request variables vs session variables.

Request scope only persists across the course of ONE page -- i.e. thru
cfincludes and cf_tags and cfmodules.

> Basically, all in all, I really do not know how what destroys the
> persistency of the session and/or request variables.

If you want Session state to persist from page to page (when the visitor has
disabled cookies) you need to pass URLToken in all links as you are doing.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to