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. what is the code behind "sign out"

what is the code behind "sign out"

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
10 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.
  • M Offline
    M Offline
    multimedia9
    wrote on last edited by
    #1

    I hav written code using cookies how to expire that cookie at the moment please send me reply i will be helpful to you.:(:confused: multimedia9

    N V 2 Replies Last reply
    0
    • M multimedia9

      I hav written code using cookies how to expire that cookie at the moment please send me reply i will be helpful to you.:(:confused: multimedia9

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      multimedia9 wrote:

      how to expire that cookie at the moment

      When user is logging out ? Or after some interval ?

      Navaneeth My Website

      M 1 Reply Last reply
      0
      • N N a v a n e e t h

        multimedia9 wrote:

        how to expire that cookie at the moment

        When user is logging out ? Or after some interval ?

        Navaneeth My Website

        M Offline
        M Offline
        multimedia9
        wrote on last edited by
        #3

        Hi frnd, thank u but i want coding behind that signout i will be happy if u reply to this multimedia9

        1 Reply Last reply
        0
        • M multimedia9

          I hav written code using cookies how to expire that cookie at the moment please send me reply i will be helpful to you.:(:confused: multimedia9

          V Offline
          V Offline
          Viral Upadhyay
          wrote on last edited by
          #4

          The best way the cookie to delete is expire it Use this code. cookie.Expires = DataTime.now.AddDay(Number of Day); This will expire your cookie. Here Number of Day is the Negative value this you priviously given To your cookie when you create.. Hope this will help you.

          Viral YahooID : just_viral My Site : www.theseoworld.info

          M 1 Reply Last reply
          0
          • V Viral Upadhyay

            The best way the cookie to delete is expire it Use this code. cookie.Expires = DataTime.now.AddDay(Number of Day); This will expire your cookie. Here Number of Day is the Negative value this you priviously given To your cookie when you create.. Hope this will help you.

            Viral YahooID : just_viral My Site : www.theseoworld.info

            M Offline
            M Offline
            multimedia9
            wrote on last edited by
            #5

            Hi frnd, Thank you very very much, once again thanks. i hav one more problem, i visited ur site thats nice. please help me by answering the next question in the forum. multimedia9

            V 1 Reply Last reply
            0
            • M multimedia9

              Hi frnd, Thank you very very much, once again thanks. i hav one more problem, i visited ur site thats nice. please help me by answering the next question in the forum. multimedia9

              V Offline
              V Offline
              Viral Upadhyay
              wrote on last edited by
              #6

              Hi friend sorry but i didnt fine your question.. if you have problem then you can send it againg or mail me by to my email

              Viral YahooID : just_viral My Site : www.theseoworld.info

              M 1 Reply Last reply
              0
              • V Viral Upadhyay

                Hi friend sorry but i didnt fine your question.. if you have problem then you can send it againg or mail me by to my email

                Viral YahooID : just_viral My Site : www.theseoworld.info

                M Offline
                M Offline
                multimedia9
                wrote on last edited by
                #7

                static string conn="provider=microsoft.jet.oledb.4.0;data Source="+ Server.MapPath("/data/db1.mdb"); OleDbConnection cn=new OleDbConnection(conn); please help me, where did i make wrong in the above instructions and please solve this. it show error that:'System.Web.UI.Page.Server' denotes a 'property' where a 'class' was expected www.mywebsite.com/data/db1.mdb how to access the db1.mdb file using Asp.NET using c# please help me i will be thank full to you. please answer me with above example multimedia9

                C 1 Reply Last reply
                0
                • M multimedia9

                  static string conn="provider=microsoft.jet.oledb.4.0;data Source="+ Server.MapPath("/data/db1.mdb"); OleDbConnection cn=new OleDbConnection(conn); please help me, where did i make wrong in the above instructions and please solve this. it show error that:'System.Web.UI.Page.Server' denotes a 'property' where a 'class' was expected www.mywebsite.com/data/db1.mdb how to access the db1.mdb file using Asp.NET using c# please help me i will be thank full to you. please answer me with above example multimedia9

                  C Offline
                  C Offline
                  Chetan Ranpariya
                  wrote on last edited by
                  #8

                  HI, R u getting runtime error or compiletime error?

                  Thanks and Regards, Chetan Ranpariya

                  M 1 Reply Last reply
                  0
                  • C Chetan Ranpariya

                    HI, R u getting runtime error or compiletime error?

                    Thanks and Regards, Chetan Ranpariya

                    M Offline
                    M Offline
                    multimedia9
                    wrote on last edited by
                    #9

                    hi Iam getting compile time error

                    V 1 Reply Last reply
                    0
                    • M multimedia9

                      hi Iam getting compile time error

                      V Offline
                      V Offline
                      Viral Upadhyay
                      wrote on last edited by
                      #10

                      Hi friend sorry but i never got this type of error while connection string you r doing right. I just thinking where you done this coding is it in the class or out of class method?? May be that's only problem.. Sorry for this..

                      Viral YahooID : just_viral My Site : www.theseoworld.info

                      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