[THIN] Re: Using roaming profile point for temp files

  • From: "Evan Mann" <emann@xxxxxxxxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 17 Aug 2005 09:10:51 -0400

I understand that the %temp% variable is per user, and I really do not
care where the temp files are put to be honest, this is a very low yield
use of temp files and an app used not very frequently, the issue I have
is that the INI file for the application, according to the developers,
will not translate at %variable%, so I have to statically assign it in
the INI.

Now, if someone is going to tell me that it doesn't matter what the
developer say, it's a system level translation and it will always work,
then I'll specify %temp%, but otherwise, it's more of a location issue,
pointing to the local profile temp path vs. the network profile temp
path.

I guess my question is aside from performance issues, if I use the
network point for the roaming profile as a temp path, and some temp
files get left over, is it going to cause a roaming profile load/unload
issue?

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf Of Rick Mack
Sent: Wednesday, August 17, 2005 5:10 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Using roaming profile point for temp files

Hi Evan,

The %temp% variable points to a unique directory for every user on a
terminal server, regardless.

You've got 3 workable options without redirecting the temp location to a
network drive.

1. On a standard server (win2k or later) with default settings a user's
%temp% maps to %userprofile%\local settings\temp\%sessionid%.
eg c:\documents and settings\testuser\local settings\temp\8 if user's
session id is 8.

2. If the user %temp% variable is changed to something like C:\temp the
user's %temp% will map to c:\temp\%sessionid%. eg c:\temp\8 if user's
session id is 8.

If you run up terminal server connection configuration (start > run >
tscc.msc) and set Server Settings > "Use temporary folders per session"
to NO then %temp% maps to %userprofile%\local settings\temp.

In each case the temp directory is still unique for each user logged on
to the server.

regards,

Rick

Ulrich Mack
Volante Systems

On 8/17/05, Evan Mann <emann@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> 
> Someone tell me if this is a "no no". 
> 
> One of my applications requires a unique temp path for every user who 
> uses it.  The INI file that resides in the \windows directory for the 
> profile cannot take variables like %username% so I have to statically 
> asign the temp path for each user.  To not have to create and maintain

> a file structure for all the users on Citrix, my thought is to point 
> the INI to the root of the users roaming profile point out on the
network (ex:
> p:\servers\profiles\jdoe\).
> 
> 
> The program is extremely good about cleaning up after itself. I can't 
> say I've ever seen it leave temp files in the specified tempory 
> directory.  Am I going to run into some kind of profile load/unload 
> problem if I do it this way?
> 
> 
> Or, do I just keep it safe and point it to the temp path under their 
> profile on the local server (c:\documents and settings\jdoe\local 
> settings\temp)
>
********************************************************
This Weeks Sponsor: triCerat Inc.
You need Day Zero Protection!
Get Proactive with triCerat's Simplify Suite.
Solve printing, security and profile problems before they occur.
http://www.tricerat.com/?thethintl2
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
http://thin.net/citrixlist.cfm
********************************************************
This Weeks Sponsor: triCerat Inc.
You need Day Zero Protection!
Get Proactive with triCerat's Simplify Suite.
Solve printing, security and profile problems before they occur.
http://www.tricerat.com/?thethintl2
**********************************************************
Useful Thin Client Computing Links are available at:
http://thin.net/links.cfm
ThinWiki community - Excellent SBC Search Capabilities!
http://www.thinwiki.com
***********************************************************
For Archives, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://thin.net/citrixlist.cfm

Other related posts: