Thanks for all you advice on this.
I've just discovered that my code doesn't work when you hit refresh in the browser!! When you do so, it doesn't save the viewstate information. Presumably this is by design, but it has scuppered my plans.
I think saving the Session vars in the database is...
It would, but where do you draw the line. I could set it to 12 hours, but then i'm not clearing the server memory and enough users could cause out of memory issues
Silo4
Hi ca8msm,
My application does a lot of work client side and only saves to database at the end of a specific task, which could take an hour or so to complete.
I want users to be able to leave the PC and come back to it without my application loosing their data and them having to log back in...
Hi,
I want to store data in session variables available to all pages in my application, after 20 minutes though they are lost in the trash.
I've been playing with a way of retaining session variables beyond session timeout. I was wondering if someone had any thoughts on a possible solution...
Cheers again for the suggestions, i have tried for another hour to figure something out but nothing works both remotely and local. I give up, I'll have to do it manually.
Thanks for your help.
I can't believe no-one else seems to have this problem!
Cheers for that, but the problem is that the ASCX control thinks of itself as being located in the same folder as the page it is attached to. So if I use a relative url it will work for any pages in the same folder but not for pages in other folders. For Example...
"../Folder1/MyPage.aspx"...
Hi,
I have an ASP.NET 1.1 website with as ASCX control for the header which includes a link to a page. Why is it that when i upload my site, i have to manually change the absolute URL paths?
After much messing i've discovered that locally they have to be...
/MyWeb/MyPage.aspx
but on the web...
Excellent, thanks very much for your help jebenson. After a little tweaking it works like a dream!
Ah shall well be preparin' m'self fer talkin' like a massively bearded pirate! Arrr!
Hi,
I have 2 listboxes on a windows form (lstStatements & lstChoices). I databind the first list from a table dataset and then when I change the selection in this list i databind the second list from a second table in the dataset which is filtered by the selection in the first list. My...
You could save the state of each row, run the update and then reload each row's state, i don't have exact code but i did something similar with a treeview, maybe it'll help.
I checked each node was expanded and/or selected and stored the info in a hashtable. Note that you need to uniquely...
It's taken a while but i've finally figured it out. I've built it into a VB.NET function for use in ASP.NET. Cut and paste below and simply call the function.
Silo4
Sub SetCaretPosToEnd(ByVal ctrl As Control)
Dim sb As New System.Text.StringBuilder("")
With sb...
It's taken a while but i've finally figured it out. I've built it into a VB.NET function for use in ASP.NET. Cut and paste below and simply call the function.
Silo4
Sub SetCaretPosToEnd(ByVal ctrl As Control)
Dim sb As New System.Text.StringBuilder("")
With sb...
Hi,
I've been pointed in the direction of the Javascript forum to answer a question i posted on the ASP.NET forum. I found a similar post in this forum titled "Set cursor to the end of a textbox ?????" and i think the solution could work, but I have absolutely no experience with Javascript and...
Hi,
I am using a button to insert a string into a textbox on my webform. I want the cursor position to be set to the end of the inserted text so the user can continue typing without having to manually reposition the cursor.
In a VB.NET windows form i'd use...
TextBox1.Text = "Hello...
I have a two tables stored in an Access DB and linked by a DataRelation.
I load the tables into a dataset and display them in a Datagrid. I don't save changes to the Access DB until i leave the datagrid.
Using the datagrid, when i add a new entry into the parent table and then immediately...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.