Forums

ASP

This topic is locked

PureASP - Using Session Var in Upload Directory

Posted 16 Nov 2002 07:59:37
1
has voted
16 Nov 2002 07:59:37 Lisa Monte posted:
I am trying to figure out a way to use a Session Variable within the field to define the upload folder so that it will dynamically send the uploads to the correct clients directory.

I've tried to use "../(ASP Code for Session Var)/images" (Sorry, it won't let me write the code here) When I run the upload I get an error back about the invalid directory being ..//images - it seems to be ignoring the session var entirely.

HELP ME PLEASE!

Replies

Replied 16 Nov 2002 19:27:46
16 Nov 2002 19:27:46 Martha Graham replied:
Check this faq:
www.dmxzone.com/go?1707

Martha Graham
Replied 16 Nov 2002 22:00:46
16 Nov 2002 22:00:46 Lisa Monte replied:
Thanks Martha,

That's close but not quite what I'm looking for. I already have the Username stored in a Session from when they login to the site. What I need is to be able to put that session variable into the upload folder field within the PureAsp extension window in UltraDev in order to make the files upload to that username's subdirectory.

Have you got any ideas?

Any help would be muchly appreciated.

Lisa Monte (cre8webs)

Reply to this topic