Results 1 to 2 of 2

Thread: Linkproblem

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    84

    Linkproblem

    When a link is clicked I want session("friend")=rs("alias") and then the user should be moved to home.asp.

    How do I do this ??

  2. #2
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141

    Re: Linkproblem

    Originally posted by Abel
    When a link is clicked I want session("friend")=rs("alias") and then the user should be moved to home.asp.

    How do I do this ??
    <a href="changesession.asp?friend=<%Response.Write rs("alias")%>">


    'in changesession.asp
    <%
    session("friend") = request.querystring("friend")
    response.redirect "home.asp"
    %>
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

Posting Permissions

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



Click Here to Expand Forum to Full Width