Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post

    Netscape querystring

    I pass values in the querystring and everything works fine for IE 5.0+ and NS 6.0+ but NS4.5-4.7x doesn't like spaces in the querystring variables. All the other browers automagically change the spaces to the approiate %20 but not NS. I could write a swap function to do this, but I wanted to post here first to see if you guys have had this problem. Thanks, all help is appreciated.
    I would rather be a lion for a day than a lamb that lives forever.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If by swap function, you mean you escape the string yourself, then yeah, that's the solution.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #3
    Regular Coder
    Join Date
    Apr 2003
    Location
    Atlanta, GA
    Posts
    487
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why not just replace the spaces in your variable values with %20?

    Most server-side languages have a URL format function; if not, a UDF shouldn't be that hard for you to create.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post
    I guess I was just being lazy, as we programmers get. Yeah, I guess I was looking for some magic bean solution. Thanks guys
    I would rather be a lion for a day than a lamb that lives forever.


  •  

    Posting Permissions

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