Err msg : "Invalid character in a Base-64 string"

  • Thread starter Thread starter Jon Paal
  • Start date Start date
Not sure why do you want it but have a guess.

Are you having an errors when you have InvalidView state?

The problem is that if you have a web site on the internet there are plenty
of robots that walking around and trying to fill the <form> with spam
messages hopping it will be forwarded to email address. Thus get the spam to
the end user.

The ASP.NET detects that because those robots are changing the hidden fields
too. And the ViewState stops being valid anymore.

So in plain words i would not worry about those errors..

George.
 
for base64 the valid charset is:

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/

the = is used as filler for the last bytes, as the length must be mulitple
of 3

-- bruce (sqlwork.com)
 
Back
Top