SSL Problems

Discussion in 'ASP .Net' started by Kevin Blakeley, Jul 3, 2003.

  1. Here is my scenario and I know I can't be the only one with this problem. I
    have create a user control that has encapsulated my navigational system. As
    a snippet my code looks something like this:

    Tour.NavigateUrl = "~/Tour/Start.aspx" ;
    Office.NavigateUrl = "~/Office/Start.aspx" ;
    TellFriend.NavigateUrl = "~/Tellfriend.aspx" ;
    LeaderBrd.NavigateUrl = "~/LeaderBoard.aspx" ;
    Training.NavigateUrl = "~/Training/Start.aspx" ;

    So far this has been working until I put this control on a page that has
    SSL. Well now, since the paths are all relative, when a user navigates off
    of the ssl page using the usercontrol, all the other pages are connected to
    using SSL.

    So I figure I could easily check the request object which tells me if we are
    dealing with a secure connection, and output the URLs with the fully
    qualified URL (example: http://www.mysite.com/tour/start.aspx). Then I ran
    into a new problem, this won't work when we are running locally and
    debugging as I want to be able to use the navigational system when we are
    running locally

    The obvious solution would be to check to see if we are working locally and
    output the URL that way, but there has to be an easier way to do all of
    this.

    Any ideas?
    Kevin Blakeley
     
    Kevin Blakeley, Jul 3, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. 620
    Replies:
    2
    Views:
    1,244
    Murat Tunaboylu
    Jan 6, 2004
  2. CW
    Replies:
    2
    Views:
    721
  3. Sean Wolfe
    Replies:
    1
    Views:
    2,542
    Joerg Jooss
    Apr 28, 2005
  4. emukang
    Replies:
    0
    Views:
    3,245
    emukang
    Dec 20, 2005
  5. Matti Kiviharju

    Problem with SSL (Newbie with SSL)

    Matti Kiviharju, Jan 14, 2005, in forum: HTML
    Replies:
    0
    Views:
    478
    Matti Kiviharju
    Jan 14, 2005
  6. Krzysztof Pa¼
    Replies:
    1
    Views:
    861
    Krzysztof Pa¼
    Sep 26, 2003
  7. Robert
    Replies:
    2
    Views:
    2,246
    Robert
    Jun 10, 2004
  8. John Smith
    Replies:
    0
    Views:
    519
    John Smith
    Oct 5, 2006
Loading...