Session Redirect Question

Results 1 to 2 of 2

Thread: Session Redirect Question

  1. #1
    Kyoko Guest

    Default Session Redirect Question

    Can Session.Redirect be targeted to the "_top" the same way as an HTML anchor tag &#060;A HREF=page.htm TARGET="_top"&#062;?<BR><BR>If a session expires, I want to redirect the user to the login page, but since there are frames in the pages, I want to redirect the entire page, instead of just the calling frame.<BR><BR>Thanks in advance for any help.

  2. #2
    Join Date
    Dec 1969

    Default options

    Well<BR><BR>in javascript you could get the referer and then<BR>send the top.location.href = referer (not 100% sure on syntax)<BR><BR>or you could redirect with the referer in the querystring <BR>and then on a intermittent page<BR>have asp grab the var<BR>and then pass it to a javascript function in the body onLoad event handler top.location.href.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts