CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: dannystommen

Page 1 of 35 1 2 3 4

Search: Search took 0.28 seconds.

  1. Replies
    10
    Views
    7,824

    Re: Session expired after browser closed

    Quinn, I don't see want your article tries to explain.

    I've created a workaround I found somewhere, and seems to work just fine


    protected override void OnPreInit(EventArgs e) {
    ...
  2. Replies
    10
    Views
    7,824

    Re: Session expired after browser closed

    I didn't know that there's a difference between using the original Session object or creating a new one. That's why I said "don't know actually", so I have also no idea how to check this either.
    ...
  3. Replies
    10
    Views
    7,824

    Re: Session expired after browser closed

    Don't know actually.. I'm simply using Session["user"] = ...
  4. Replies
    10
    Views
    7,824

    Re: Session expired after browser closed

    I don't understand a few things:


    Non-expiring? It does expire right?!


    I use the session object on every page request, and still I receive a new session id on each request.
  5. Replies
    10
    Views
    7,824

    Re: Session expired after browser closed

    I'm using the defaults of ASP.NET. I guess this is per-session cookie..

    Is there any kind of setting to use persistent cookies? Or do I need to write the session id into the correct cookie each...
  6. Replies
    10
    Views
    7,824

    Session expired after browser closed

    Hi all,

    I'm having a problem with the session after the browser is closed. When the browser is (completely) closed, I always need to login in again on my own website. I don't need to login if only...
  7. Re: Trading application performance problem

    To be helpful in this issue, we need to know a lot more information..:

    - How many data is there involved? Are we talking about 1000 records, 100,000 or milions?
    - What is causing the performance...
  8. Replies
    1
    Views
    803

    Re: Visual Studio 2010 .NET 4 ASP

    I don't think you should underestimate C# ASP.NET.

    Using a good book can be a good start, but not just a book with short examples.

    I think this is a good book:...
  9. HttWebRequest ServicePoint.ConnectionLimit

    Hi all,

    I need to make about 300,000 HTTP requests to an URL. (Yes I know it's a lot, and there's no way to prevent this amount of calls).

    To increase the speed, I did some testing with...
  10. Replies
    1
    Views
    624

    Re: Creating a Cookie and Setting it

    I don't know why that's empty, but why don't you use the cookie in the Response/Request?



    //set cookie
    HttpCookie cookie;
    if (Request.Cookies["uid"] == null) {
    cookie...
  11. Replies
    2
    Views
    1,195

    Re: 'hide' DataBind method

    My custom control is simply displaying some data which I select in the database. But to select the data, I need several paramaters. So I could declare these parameters in public properties, and make...
  12. Replies
    2
    Views
    1,195

    'hide' DataBind method

    Hi all,

    I'm creating a custom control. To show the correct data in this control, I need to set several properties before calling the DataBind method. To prevent that any properties are forgotten,...
  13. Replies
    4
    Views
    834

    Re: Multi thread debugging

    Yes, multi threading is hard to debug.

    When I have situations like this, I normally write 'debug' lines to some kind of logger. It can be the console, a simple textfile or whatever you want to...
  14. Replies
    3
    Views
    997

    Re: Session variable puzzle ?

    You should always check if an session variable is null or not.

    the string conversion does not fail because a string can be null. A float can't.

    Debug the following and check the results


    ...
  15. StreamWriter with a lots of async writes per second

    Hi guys,

    I want you opinion about something. We are investigating something to store a huge amount of information. Basically, we want the following:
    - We recieve information via a webpage/request...
  16. Re: How to get a float out of a textbox number ?

    float f = float.Parse(TextBox1.Text);

    But this one will throw an exception if the input is not a valid float.
    Instead use


    float f;
    bool valid = float.TryParse(TextBox1.Text, out f);
  17. Replies
    1
    Views
    1,389

    Re: asp.net fastest reporting tool

    Crystal Reports does have an initial load, but that's normally only a few seconds (less then 2 or so).

    If it really takes two minutes, I doubt that the problem is crystal reports. How many data...
  18. Replies
    1
    Views
    3,036

    Re: Database connection in .cs file

    What is the error you get?

    Did you reference the MySql.Data.dll into to your project's references?
  19. Replies
    3
    Views
    1,380

    Re: mySQL Query Help

    It will look something like the following. Also, you are using COUNT, you should use SUM if you want the total amount of money




    SELECT
    name,
    CASE WHEN SUM(money) > 5
    THEN 'lots...
  20. Replies
    4
    Views
    873

    Re: UpdatePanel and network problems

    Yes, I'll try Fiddler to see the response.
  21. Replies
    4
    Views
    873

    Re: UpdatePanel and network problems

    Well, the problem is dat a collegeau had a problem while try to use the search button. She said "I kept trying to click the search button, but it didn't result in anything"... She had that problem at...
  22. Replies
    4
    Views
    873

    UpdatePanel and network problems

    Hi guys,

    In my webapp I'm using several UpdatePanel controls. Today I noticed that if there's no network connection, I doesn't do anything. If you hit a button inside the panel, the page doesn't...
  23. Replies
    2
    Views
    1,189

    Re: pdf document from windows form output?

    Take a look at Crystal Reports for Visual Studio. If you are using VS2008, it's included. If you are using VS2010, take a look here: http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
  24. Re: creating a HTML tags in a C# code behind

    Yes you can. Create an ASP.NET literal control in the markup page.

    In the code behind


    string html = "<input type='submit' value='Click me' />";
    literal1.Text = html;
  25. Replies
    2
    Views
    854

    Re: chart help

    VS2010 has a built in chart. In the toolbox under Data -> Chart. More documentation about this can be found here: http://code.msdn.microsoft.com/mschart

    But I must says that the charts of...
Results 1 to 25 of 867
Page 1 of 35 1 2 3 4





Click Here to Expand Forum to Full Width

Featured