Access to the current Request object inside other classes

N

neverstill

Hi-

I have a class that helps me save some data. In this class I need access to
Request.ApplicationPath

Do I need to inherit Page to get access to this? Is there some tricky
technique to get to the current Request object easier?

Weird question I know, but I don't really have my head around it all yet.
Thanks for any help,
Steve
 
N

neverstill

Perfect! Thank You.
I had resorted to passing in the HttpRequest to the constructor... what you
suggested is MUCH better.

Have a good one!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top