Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

sagittarian

@sagittarian
About
Posts
10
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Calling a server side event handler in response to DropDownList Focus Change
    S sagittarian

    Hello, I know that Focus is a client-side event but is there a way to call a server-side event in my code-behind file in reponse to focus change in a DropDownList? Something like, 1. Handle the focus in the javascript in the .aspx file 2. call a server-side method inside that javascript event handler? Is that possible at all? If yes a code sample would help, becasue whatever I tried did not seem to work. THanks for reading!

    ASP.NET javascript sysadmin help question

  • Confirm Dialog for ASP.Net
    S sagittarian

    Hello, I need to capture the user response to a confirm dialog. if the user clicks cancel, the postback is cancelled and I want to do something else even if its a cancel. I just use the clientscript.registerstartupscript to show a confirm dialog. What should I be doing to accomplish what i wish to?

    ASP.NET csharp asp-net question

  • Calling a Stored Procedure in DB2
    S sagittarian

    I have been working on migrating a old ASP app to asp.net and the VBScript block that calls a DB2 stored procedure looks like this: oCmd.Prepared = true Set oParam = oCmd.CreateParameter("RETURN", adsmallInt, 3, 2, 0) oParam.Precision = 4 oParam.NumericScale = 0 oCmd.Parameters.Append oParam ExecuteCmd oCmd oRsReturn = oCmd.Parameters If someone can tell me how to convert the code to VB.Net that would be great, I don't seem to find the equivalent of the first line and the last line and I don't know how to create similar parameters. Thanks for reading!

    Visual Basic csharp asp-net database tutorial

  • Session times out [modified]
    S sagittarian

    If at all anyone else bangs their head for a similar issue, here is the magic wand. Pull out the Event log in the Server box. It showed, Event Type: Information Event Source: W3SVC Event Category: None Event ID: 1077 Date: 4/3/2008 Time: 11:18:13 AM User: N/A Computer: LABHONTS2005A Description: A worker process with process id of '11468' serving application pool 'mkasivii2_0' has requested a recycle because it reached its virtual memory limit. So this thing causes the session to recycle, so you should contact the server people. Hope this helps another frustrated developer ;) :sigh:

    ASP.NET visual-studio sysadmin windows-admin debugging question

  • Problem Getting while building project
    S sagittarian

    Whats smartads.Global? Do you have that file in your project?

    ASP.NET csharp help asp-net dotnet json

  • PREVENTING the "BACK" process?? [modified]
    S sagittarian

    You can never do that. They are client side events.

    ASP.NET csharp asp-net help tutorial question

  • Session times out [modified]
    S sagittarian

    Adding something which I think is relevant My website is under the Default Website group in IIS and when I right-click on the default web sites to view the properties, it shows the ASP.Net version as 1.1 and the new website I am developing is on VS2005 and framework 2.0. Problem, is it?

    ASP.NET visual-studio sysadmin windows-admin debugging question

  • Session times out [modified]
    S sagittarian

    Thank you so much for the reply! 1. I already have that IF block and porting that piece of code to Page_Init did not solve my problem. 2. No matter what I do (even if I do nothing/keep causing postbacks), Session_End event in my Global.asax is hit in like 20 seconds or so, EVERY time. I am confused. It used to work well with VS 2003. I have both installed in my PC, btw and my IIS version is 6.0 and I have configured my IIS for this particular project to be of Version 2.0

    ASP.NET visual-studio sysadmin windows-admin debugging question

  • Session times out [modified]
    S sagittarian

    Nobody ha! :-( I posted the same question in the Asp.net forums. Is my problem weird or am I being just plain stupid???

    ASP.NET visual-studio sysadmin windows-admin debugging question

  • Session times out [modified]
    S sagittarian

    This is what I have in web.config: Also this is the piece of code in all my page_loads after the Login, Dim emp as Employee = Session.Item("employee") If emp is Nothing Then Response.Redirect("Login.aspx") End if After like 20 seconds or so, no matter whatever page I am in, if I click a button or something to cause a Postback I am redirected to the Login page. Am I missing something here? I am using VS 2005, IIS 6.0 (on a remote server) 1. I have checked the server, it shows time out of 20 mins 2. If I add a breakpoint at Session_End event in my Globals.asax its hit after 15-20 secs and Application_End event is hit immediately Thanks for reading!

    ASP.NET visual-studio sysadmin windows-admin debugging question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups