Asp.Net Equilivant of Me.Name

L

Larry Rebich

Is there an Asp.Net equilvant of VB6's Me.Name? And hopefully it will
contain the path of the page.

What I want to do is use the name as the return page from a called page. I'd
like to write something like:

'Calling page:
Save me.name in Cookie
Call SomePage
--------
'Called SomePage
Do Stuff
Get me.name from Cookie
Return to me.name

Or is there a better way to do this?

Thanks,
Larry
 
R

Rad [Visual C# MVP]

Is there an Asp.Net equilvant of VB6's Me.Name? And hopefully it will
contain the path of the page.

What I want to do is use the name as the return page from a called page. I'd
like to write something like:

'Calling page:
Save me.name in Cookie
Call SomePage
--------
'Called SomePage
Do Stuff
Get me.name from Cookie
Return to me.name

Or is there a better way to do this?

Thanks,
Larry

Have a look at the following properties o the request object and see if
they can do what you are looking for

- Path
- RawURL
- URL
 

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