Results 1 to 2 of 2

Thread: Response.Redirect to a https page

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Posts
    90

    Response.Redirect to a https page

    I have a question about Resonse.Redirect to an https page.

    For the line

    response.redirect("https://thiswebsite.com/thispage.aspx")

    Does this start a new session? Will I loose my Sessions objects? If so, is there another way do a redirect to an ssl secured page and NOT loose my session object?

    Thanks

  2. #2
    Frenzied Member <ABX's Avatar
    Join Date
    Jul 2002
    Location
    Canada eh...
    Posts
    1,622
    if it is on the same server you are commended to use

    [code]
    Server.Transfer("https://thiswebsite.com/thispage.aspx")
    [/Highlight]

    not sure if u'll use ur session object tho (new to asp.net)
    Tips:
    • Google is your friend! Search before posting!
    • Name your thread appropriately... "I Need Help" doesn't cut it!
    • Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
    • Allways Include the Name and Line of the Exception (if one is occuring!)
    • If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)


    If you think I was helpful, rate my post
    IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous

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