Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > get information from the request

Reply
Thread Tools

get information from the request

 
 
francois
Guest
Posts: n/a
 
      03-01-2004
Hi everyone,

When I do some postback I need to discover some information like what aspx
form or even the relative url to the project that the postback is orginated
from.

For exemple if I have

projectRoot/folder1/folder2/page.aspx

when i do the postback from that page, i want to get something like
"projectRoot/folder1/folder2/page.aspx" or at least "page.aspx", I believe I
may get that from the Request object?

Is there anyone that can help me on this topic?

Best regards,

Francois




 
Reply With Quote
 
 
 
 
Krishnan
Guest
Posts: n/a
 
      03-01-2004
Sorry, am quite not able to understand your question.

You'd have a codebehind class for "every" aspx page. So you can say that the
request came from the page for which the class currently executing is the
codebehind class. Did that answer your Q?

Krishnan

"francois" <_NOSPAM> wrote in message
news:eG5iKF2$...
> Hi everyone,
>
> When I do some postback I need to discover some information like what aspx
> form or even the relative url to the project that the postback is

orginated
> from.
>
> For exemple if I have
>
> projectRoot/folder1/folder2/page.aspx
>
> when i do the postback from that page, i want to get something like
> "projectRoot/folder1/folder2/page.aspx" or at least "page.aspx", I believe

I
> may get that from the Request object?
>
> Is there anyone that can help me on this topic?
>
> Best regards,
>
> Francois
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get ubuntu ! Get ubuntu ! Get ubuntu ! Get ubuntu ! Getubuntu Windows 64bit 1 06-01-2009 08:54 AM
Request.Cookies.Get[] VS Request.Cookies mhshpk ASP .Net 0 07-18-2007 05:44 PM
get information from the Request francois ASP .Net 1 03-01-2004 11:05 PM
Re: Accessing Request.InputStream / Request.BinaryRead *as the request is occuring*: How??? Brian Birtle ASP .Net 2 10-16-2003 02:11 PM
best way to get data: request.form, request.params, controlname.value Christian H ASP .Net 1 07-29-2003 05:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57