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
  1. Home
  2. Web Development
  3. ASP.NET
  4. hiii urgent

hiii urgent

Scheduled Pinned Locked Moved ASP.NET
helpquestion
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ishwarya mahadevan
    wrote on last edited by
    #1

    hi i need to make an entry in the session table once the user logs. need to use web service methods for everything. i ve written a stored prov for login and within that i ve called the session procedure. while running web service method i m getting an error "string or binary truncated. statement has been terminated". as i couldnt spot the error i tried writing a separate method for session in webservice and tried calling it from login method. i m not getting any error but the entry is not made in the session table. can anyone help me out?

    B A S 3 Replies Last reply
    0
    • I ishwarya mahadevan

      hi i need to make an entry in the session table once the user logs. need to use web service methods for everything. i ve written a stored prov for login and within that i ve called the session procedure. while running web service method i m getting an error "string or binary truncated. statement has been terminated". as i couldnt spot the error i tried writing a separate method for session in webservice and tried calling it from login method. i m not getting any error but the entry is not made in the session table. can anyone help me out?

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      First read How-to-get-an-answer-to-your-question

      Cheers!! Brij

      I 1 Reply Last reply
      0
      • B Brij

        First read How-to-get-an-answer-to-your-question

        Cheers!! Brij

        I Offline
        I Offline
        ishwarya mahadevan
        wrote on last edited by
        #3

        may i know what was the problem??? i dint ask for the coding too...i just wanted to know where i had gone wrong...

        B 1 Reply Last reply
        0
        • I ishwarya mahadevan

          may i know what was the problem??? i dint ask for the coding too...i just wanted to know where i had gone wrong...

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          Didn't read the link that I mentioned ."3.Keep the subject line brief, but descriptive.".Also somthing may be urgent for you not for others..

          Cheers!! Brij

          1 Reply Last reply
          0
          • I ishwarya mahadevan

            hi i need to make an entry in the session table once the user logs. need to use web service methods for everything. i ve written a stored prov for login and within that i ve called the session procedure. while running web service method i m getting an error "string or binary truncated. statement has been terminated". as i couldnt spot the error i tried writing a separate method for session in webservice and tried calling it from login method. i m not getting any error but the entry is not made in the session table. can anyone help me out?

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            So, you want to store session information in a table from Web Services ? or any thing else you are expecting ? Can you please rephrase your question. :confused:

            Cheers ! Abhijit Codeproject MVP

            I 1 Reply Last reply
            0
            • A Abhijit Jana

              So, you want to store session information in a table from Web Services ? or any thing else you are expecting ? Can you please rephrase your question. :confused:

              Cheers ! Abhijit Codeproject MVP

              I Offline
              I Offline
              ishwarya mahadevan
              wrote on last edited by
              #6

              ya i want to store session information in table from web service

              A 1 Reply Last reply
              0
              • I ishwarya mahadevan

                ya i want to store session information in table from web service

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                < Updated Subject > So, what you have written in your code? Can you please show us the code? Did you debugeed your code? Are you able to access session variable in Web service ? :)

                Cheers ! Abhijit Codeproject MVP

                1 Reply Last reply
                0
                • I ishwarya mahadevan

                  hi i need to make an entry in the session table once the user logs. need to use web service methods for everything. i ve written a stored prov for login and within that i ve called the session procedure. while running web service method i m getting an error "string or binary truncated. statement has been terminated". as i couldnt spot the error i tried writing a separate method for session in webservice and tried calling it from login method. i m not getting any error but the entry is not made in the session table. can anyone help me out?

                  S Offline
                  S Offline
                  saanj
                  wrote on last edited by
                  #8

                  The length of the value that you are going to put in the column is exceeding the size of the column. Just compare the lentgh of the value with the columns data size.

                  There is no foolish question, there is no final answer...

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

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