Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Date thru a form

Status
Not open for further replies.

dellyjm

Programmer
Apr 13, 2000
168
JM
How do I pass a date through a form using the Querystring or any other method? I'm having a problem where the date is being formatted like this --> 08/08/2001 is coming out as 08%2F08%2F%2F2001. How do I pass it across?

Delton.
 
Hi,

Before passing it using QueryStrings encode it using Server.URLEncode, then you will get it normally.

Regards,
Luís Silva
 
Hello all,
I would like to know wether the following is possible :
A user goes to a web page and presses a 'button'.
The user information, stuffed in a file on the user's computer is somehow processed in a script and transferred to the server hosting the web page.
The user is recognized and allowed or not allowed (e.g. because he hasn't paid his bill) to go to a specific web page.
I know that it is very well possible that when the user fills in his name and password, that information can be sent back and thus verified, but I am not sure wether a manner exists to verify a user's identity without his input.
Greetings,
An ASP beginner
 
Yeah, write the data you want to check for to a cookie on the client machine. Then when the user opens the page you have the site set up to check for the cookie before hand, and process accordingly.

It's been a while since I have written any persistent cookies (Ones that don't disappear when the browser is closed) but i am sure that are problems some good threads on here about exactly how to do it.
 
It would be better to use a db and have a login/pass. I lot of users tend not to like cookies and will delete them promptly, thus defeating the purpose.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top