Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6143269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:30:12+00:00 2026-05-23T18:30:12+00:00

In my application I’m trying to read the cookie value but in firefox4 it’s

  • 0

In my application I’m trying to read the cookie value but in firefox4 it’s reading it like

PHPSESSID=6obpuf73q9l7oelqjp49vi4f57; __utmc=111872281; __utma=111872281.346828356.1310972579.1310977402.1310984221.3; __utmz=111872281.1310972579.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); plugins_pn=0; __utmb=111872281.100.10.1310984221; pages_pn=0; selection=contract-hire

and in chrome it’s reading it like

PHPSESSID=6obpuf73q9l7oelqjp49vi4f57;
selection=contract-hire

Some times in FF4 it works fine but 99% of the time it fails. Can somebody tell me how I can solve this problem.

edit

i am getting the cookie val as

var cookval = document.cookie.split('=')[2];
    var sel = cookval.split(';')[0];
//sel contains the desired value
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:30:13+00:00Added an answer on May 23, 2026 at 6:30 pm

    if you want to read and set cookie in javascript, use these little functions: http://www.w3schools.com/js/js_cookies.asp

    (When I use it, I also do a replace(/\+/g,’ ‘) to get string with spaces)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Application able to record error in OnError, but we are not able to do
Application[temp] = 8; should set the value 8 to the key temp . However,
my application use 10 threads that to read a lot of html file.similar the
My application is mostly organised in layers so I found that something like the
Application is a C# .Net 3.5 WCF Service. I'd like during the build process
Application: SAS Enterprise Guide 4.3 / Operating System: Windows XP I am trying to
Application lunched by a user with no read/write permissions to a specific folder. For
My application scenario is like this: I want to evaluate the performance gain one
Application is running in my local system app.config file <add key=dbconn value=Data Source=(local);database=VTech;User ID=sa;Password=sa;
Application frameworks such as DotNetNuke, Eclipse, Websphere and so forth are available today which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.