Re: Please! Doesn't anyone know a better way to do this?



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

.