Re: [Global.asax] function Server.MapPath not available ?
- From: teo <teo@xxxxxxxxx>
- Date: Mon, 11 Dec 2006 02:40:53 +0100
Mark,
I tried
the 'public' folder is here
www.mySite.it/public/myFolder
and
my .aspx page folder is here
www.mySite.it/PersonalApp/Default.aspx
also
the InProc is set on
unfortunately
'Server.MapPath' and 'Request.ApplicationPath'
from the Session_End
both return an empty string
- - -
Because Server.MapPath on the Session_Start does work ,
I tried to store the resulting string in a variable
to use it in the Session_End ,
but it seems that
the Global.asax file manages variable differently from usual
and it 'looses' its content
and nothing arrives in the Session_End event
- - -
I 'm stumped
(I'm performing my tasks
on the Session_ Start event,
but I don't like it because it consumes time)
.
- Follow-Ups:
- Re: [Global.asax] function Server.MapPath not available ?
- From: Juan T. Llibre
- Re: [Global.asax] function Server.MapPath not available ?
- References:
- [Global.asax] function Server.MapPath not available ?
- From: teo
- Re: [Global.asax] function Server.MapPath not available ?
- From: Mark Fitzpatrick
- [Global.asax] function Server.MapPath not available ?
- Prev by Date: Re: probls with file upload script... pls help
- Next by Date: Re: gridview help
- Previous by thread: Re: [Global.asax] function Server.MapPath not available ?
- Next by thread: Re: [Global.asax] function Server.MapPath not available ?
- Index(es):
Relevant Pages
|