Re: Please! Doesn't anyone know a better way to do this?
- From: "Dblood" <dbloodworth@xxxxxxxxxxxxxxx>
- Date: 5 Sep 2006 14:27:07 -0700
Colleen,
Here something to try, create a String variable (I'll call it
strRefUrl) then in Page Load, assign it: strRefUrl =
Request.UrlReferrer, the result SHOULD be the url of the page you just
left. You'll have to parse the page name out by doing some string
manipulation, but it should be easy enough with the InStrRev() function
looking for the first "/" character (because we're going right to left)
and then using the Mid() function to pull out the page name. Assign
that to your Session variable and then proceed as normal. Again, I
don't know if the Java buttons are going to affect this, but it's worth
a try.
If the string stuff holds you up, post the page url and I'll write the
code to parse the string.
dkb
.
- Follow-Ups:
- References:
- Please! Doesn't anyone know a better way to do this?
- From: Coleen
- Re: Please! Doesn't anyone know a better way to do this?
- From: Dblood
- Re: Please! Doesn't anyone know a better way to do this?
- From: Coleen
- Please! Doesn't anyone know a better way to do this?
- Prev by Date: 'Could not load file or assembly' every few days - asp.net 1.1
- Next by Date: Re: wildcard mapping
- Previous by thread: Re: Please! Doesn't anyone know a better way to do this?
- Next by thread: Re: Please! Doesn't anyone know a better way to do this?
- Index(es):