The session cookie is automatically set right? and I have another form cookie. The form cookie is persistent and the session cookie expires after 20 minutes. But as far as I know they have nothing to do with each other, correct me if I'm wrong. Thanks Zeke. Waiting to kill Bill
Zeke Le
Posts
-
Anoying cookie issue! -
error.. :(It's the sytax error on your SQL query not the program. Zeke.
-
Anoying cookie issue!No The expire year is 2054 :( Zeke.
-
Anoying cookie issue!I got a site up and running, when I log in (persistent cookie), it works, a few a hours I get back, I'm still logged in. But after a day, It automatically logged me out. The strange thing is I check the cookie at it's there. I use Form Authentication. Please help, this is really anoying. Thanks Zeke. Waiting to kill Bill
-
Download after the page loaded!Thanks, I have looked up and found the method. But I really don't know how to write the client script to fires the URL to the file. Zeke
-
Download after the page loaded!How to open the "save as" dialog box to download a file automatically after the page has loaded? Anyone knows please help! Thanks Zeke
-
M A T R I X Reloaded..!!!That would be great, but I really don't think the VCDs are out yet, isn't it show time?
// What do I do every day
foreach (System.Hours hour in EveryDay.Hours)
{
WorkingWithMyComputer();
} -
M A T R I X Reloaded..!!!You guys are lucky, Matrix is not coming to Vietnam I guess for about 3 more months. :(
// What do I do every day
foreach (System.Hours hour in EveryDay.Hours)
{
WorkingWithMyComputer();
} -
Upload limitcan you show me where to put it in the web.config file? Thanks alot!!!!
// What do I do every day
foreach (System.Hours hour in EveryDay.Hours)
{
WorkingWithMyComputer();
} -
DataGrid Heading DisplayYou can use the DataGrid TableStyles. First you add one GridColumnStyle and a collection of columns to it. Each column you set the 'mapping' value to match the column in ur dataset that u want to display . No time to breathe
-
Accessing controls of one form from another formI'm sorry, my mistakes, I thought u wanna do it from the first form. But I found a way that u can try, u can access the parent form's controls this way: Form.ActiveForm.TopLevelControl.Controls[index] No time to breathe
-
Accessing controls of one form from another formYou can access controls in the first form if their modifiers value are set to public No time to breathe
-
A simple Form OK button questionYou can achieve this by setting the form2 DialogResult to None. EX: if (txtName == "") { //Show error message this.DialogResult = DialogResult.None } No time to breathe
-
JIT problem!First a messagebox appeared and said that an exception has been generated, ProcessID=something, ThreadID=something. Click Cancel to debug. Then I clicked Cancel, another one appeared said that the JIT debguger is not available and told me to check the computer setings which I didnt know what & where to check (very cool), it also unhelpfully showed me the file cordbg.exe!something. That's all, help me please! No time to breathe
-
JIT problem!My program was written in Visual C# and it runs just fine in my computer and computers that uses Windows XP, but when I tried to execute it in a win ME (with .Net framework installed), an unhandled execption occurs, it says the problem is about JIT. Can anyone show me how to fix it? Thanks No time to breathe
-
Enter key to <br>Thank you I got another question :rolleyes: : Is there a way that I can compare a specific date to a current date so that I know how many day have passed? No time to breathe
-
Enter key to <br>How can I convert an Enter key to <br> using C#. I can do that in VB.NET by using Replace(ControlChars.CrLf, <br> ) But in C# I don't know. Can anyone show me, please? No time to breathe
-
Unknown error!!!it doesnt work either, I found out that it's not the code that has problem but the connectionString Thanks for helping:) Zeke
-
Unknown error!!!Here is the code to bind data to my datalist, that's all that related to the dataAdapter: Dim myConnection as new OleDbConnection(ConfigurationSettings.AppSettings("connectionString")) Dim dataAdapter as new OleDbDataAdapter("select * from Messages order by MessageID desc", myConnection) Dim myDataSet as new DataSet dataAdapter.Fill(myDataSet, "Messages") Dim myTable as new DataTable myTable = myDataSet.Tables("Messages") DataList1.Datasource = myTable Datalist1.DataBind() Zeke
-
Unknown error!!!I created a aspx page and it runs just fine in my computer, but when i run it on server, i recieved this error: URI formats are not supported. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: URI formats are not supported. Source Error: Line 14: Line 15: Dim myDataSet as new DataSet Line 16: dataAdapter.Fill(myDataSet, "Messages") Line 17: Line 18: Dim myTable as new DataTable Please help me to solve this! thanks very much. Zeke