Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Session variable to go to new page after a delay

Status
Not open for further replies.

morechocolate

Technical User
Apr 5, 2001
225
US
I am trying to redirect to a new page after a few seconds, but I am getting taking to my default page.

<META http-equiv=&quot;Refresh&quot; content=&quot;10;url=<%Session(&quot;PackagePage&quot;)%>&quot;>

When the URL appears in the address section the url the page portion is blank. I know the page is getting the session variable because I am tested it using response.write.

Can I do what I am trying to do?

Thanks
 
Try...

<META http-equiv=&quot;Refresh&quot; content=&quot;10;url=<%=Session(&quot;PackagePage&quot;)%>&quot;>

That little equals gets replaced with a response.write on the page being called, that should work now.

G -GTM Solutions, Home of USITE-
-=
 
G thanks,but I had tried that already and I get the same results.
 
Mmm, my mistake I missed another problem, try...

<META http-equiv=&quot;Refresh&quot; content=&quot;10;url=&quot;<%=Session(&quot;PackagePage&quot;)%>&quot;> -GTM Solutions, Home of USITE-
-=
 
G - the original way worked. Silly me last night I skipped a step so the session variable was not populated. :-Q

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top