check the properties of the user control you are using. Also u can add controls to it like text box etc , if it supports them and then set the properties as per you requirment. If the user control doesn't support then change to a custom aspx control as per your requirments.
How about this
It is easier if you show using query string bcos you can use Request.QueryString.
Otherwise you need to create one handler that might process your special request and get the values from /keyword/location.
he values of Keyword and Location is stored in session
You dont need to store this in session as you send already in querystring. Use
hii m using the access database in my website.
its working f9 but as soon as i use to modify or update the data it gives error.
however on localhost its working f9.what shud i do....
The access database is in appdata folder of website.
no it doesnt shows the details of error....
To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
Can you login to the machine that hosts your app? If yes try to create the error during a localhost-session. Then you will hopefully see more error details. (You could also take a look into the System Event Log if the error message is described there in more detail).
The value is in the cache for more than a minute, does it have something to do with the datatype being saved? I already tryed utcnow but the result is the same, and also, i tryed using a timespan of 1 minute and guess what... not working either, i dont think its my machine, because it doent work either on my server
If you have the time, check it please
I know i could use the NoBot control in ajax but i really want to know whats wrong with this
Private Function IsRobot() As Boolean
Dim IP As String = Me.Request.UserHostAddress
Dim key As String = "Contact_" & IP
Dim obj As Object = Cache(key)
Dim Counter As Integer = 0
If obj Is Nothing Then
Cache.Insert(key, Counter, Nothing, Now.AddMinutes(1), Cache.NoSlidingExpiration)
Counter = obj
If Counter >= 5 Then
Me.lblError.Text = "Too many emails"
Me.lblError.Visible = True
Cache(key) = Counter + 1
In my application i want to keep one session objects value for a long time.I have used <sessionstate timeout="60">.But it is not working properly.can any one give some idea how to keep the value for atleast 6 to 8 hrs.
thanks in advance
Last Visit: 31-Dec-99 18:00 Last Update: 14-Aug-22 9:23