Sorry, just realised this bit is wrong

> -------------- DSP_STUFF.CFM ------------------
> <cfif session.role eq "sales" >
>     <!--- show stuff vendors should be able to see --->
> </cfif>

it should be

 -------------- DSP_STUFF.CFM ------------------
<cfif session.role eq "sales" >
     <!--- show stuff vendors should NOT be able to see --->
 </cfif>

Pat

"Pat Branley" <[EMAIL PROTECTED]> wrote in message
news:23083@cfaussie...
>
> Hi
>
> Im developing a system where the same pages are being viewed by two
> different sets of users. Ie. internal sales & vendors.
>
> There are certain aspects of each page that the internal sales staff need
to
> see that the vendors should not be able to see. However if I open both
sites
> up on the same machine the session vars seem to interfere and session vars
> set in one view are accessible via the other view. Im assuming this has
> something to do with cookies, but im not sure how to fix it.
> Is there a way I can somehow stop these two applications intefering ?
>
> this is how my pages work.
>
> -------------- DSP_STUFF.CFM ------------------
> <cfif session.role eq "sales" >
>     <!--- show stuff vendors should be able to see --->
> </cfif>
>
>
> <!--- show common stuff below ---->
> -----------------------------------------------------
>
> each set of users login via separate pages. ie.
>
> -------- vendors Site -------
>
> wwwroot\vendors\Application.cfm - this has the usual redirect & stuff if
> they are not validated
> <CFAPPLICATION NAME="vendors"
>       CLIENTMANAGEMENT="Yes"
>       SESSIONMANAGEMENT="Yes"
>       SETCLIENTCOOKIES="Yes"
>       CLIENTSTORAGE="CFSESSIONS"
>       SESSIONTIMEOUT=#CreateTimeSpan(0, 0, 15, 0)#>
> wwwroot\vendors\login.cfm
> wwwroot\vendors\default.cfm - standard layout with cfinclude to common
logic
> ie. dsp_stuff.cfm
>
> -------- Sales Site -------
>
> wwwroot\sales\Application.cfm - this has the usual redirect & stuff if
they
> are not validated
> <CFAPPLICATION NAME="sales"
>       CLIENTMANAGEMENT="Yes"
>       SESSIONMANAGEMENT="Yes"
>       SETCLIENTCOOKIES="Yes"
>       CLIENTSTORAGE="CFSESSIONS"
>       SESSIONTIMEOUT=#CreateTimeSpan(0, 0, 15, 0)#>
> wwwroot\vendors\default.cfm  - standard layout with cfinclude to common
> logic ie. dsp_stuff.cfm
>
> the common stuff........
>
> wwwroot\common\dsp_stuff.cfm
> wwwroot\common\act_edit_stuff.cfm
> etc. etc.
>
> p.s. They are acutally running under the same site in IIS.
>
> Any help would be great.
>
> Patrick Branley
> Systems Engineer
> E-BisPrint Pty. Ltd.
>
>
>
>



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to