PDA

View Full Version : querystring


pankaj
03-13-2003, 12:19 PM
how do I pass "C++" from one page to other using queystring the
+ gets lost in the next page

Spudhead
03-13-2003, 03:10 PM
escape("C++")

?

allida77
03-13-2003, 03:17 PM
Server.URLEncode(String)

Morgoth
03-13-2003, 08:32 PM
The "+" gets lost because when a server sends a querystring, it reads the + as a space, and so as allida77 said, you should use Server.URLEncode("C++") or Server.URLEncode(String) to hold ALL your strings that are going into the query string.

You understand why the + disapears now?