473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Getting Cookie values

Hai everybody,

I am facing a problem with cookies. Actually what i am doing is, user will enter uesrname and pasword in one url loginpage, after success , iam redirecting the user to another url.i like to get the cookie values(the first url cookies and cookies not encrypted) in redirected page for some validation.
how to get those values?
please give me some suggesttions in this issue.

thanks in advance
Jun 6 '07 #1
10 1827
r035198x
13,262 8TB
Hai everybody,

I am facing a problem with cookies. Actually what i am doing is, user will enter uesrname and pasword in one url loginpage, after success , iam redirecting the user to another url.i like to get the cookie values(the first url cookies and cookies not encrypted) in redirected page for some validation.
how to get those values?
please give me some suggesttions in this issue.

thanks in advance
Moved to Javascript forum.
Jun 6 '07 #2
Moved to Javascript forum.
hai,

is this post not related to java?
Jun 6 '07 #3
r035198x
13,262 8TB
hai,

is this post not related to java?
I just made an assumption since you did not specify which type of pages you were refering to. Are you using JSPs?
Jun 6 '07 #4
I just made an assumption since you did not specify which type of pages you were refering to. Are you using JSPs?
hai r035198,

ok, i am sorry for not giving exact information.yes, i am using jsp pages.
Jun 6 '07 #5
r035198x
13,262 8TB
hai r035198,

ok, i am sorry for not giving exact information.yes, i am using jsp pages.
You missed an x in my handle.
I still think the question belongs here.

See if any of these can help you.
Jun 6 '07 #6
acoder
16,027 Expert Mod 8TB
hai r035198,

ok, i am sorry for not giving exact information.yes, i am using jsp pages.
Are you talking about client-side cookies or something server-side?
Jun 6 '07 #7
acoder
16,027 Expert Mod 8TB
See if any of these can help you.
The w3Schools tutorial and the QuirksMode one are nice.
Jun 6 '07 #8
Are you talking about client-side cookies or something server-side?
hai acoder,

can you explain me the diffrence between client-side cookies and server-side?

Thanks
Jun 7 '07 #9
Are you talking about client-side cookies or something server-side?
Hai acoder,

I think,Cookies are only stored on the client side. The server can read and write them.
thanks for ur reply n let me know the difference between the two types of cookies, if present?
Jun 7 '07 #10
acoder
16,027 Expert Mod 8TB
Hai acoder,

I think,Cookies are only stored on the client side. The server can read and write them.
thanks for ur reply n let me know the difference between the two types of cookies, if present?
See this Wikipedia page.

As for the client-side cookies, see the links I gave earlier.
Jun 8 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: pwldev | last post by:
Sorry if this isn't a good place for this question. I have a problem with losing cookie values whenever a user's local machine date/time is behind the date & time of the IIS machine. The login...
4
by: Wally | last post by:
I have a record set (rs) that contains 25 barcodes values that I set to true in a cookie. (see code section below) If I read the cookie from within the same page that created it, I see all 25...
6
by: Jason Collins | last post by:
There seems to be an inconsistency (bug?) in the way the Set-Cookie header is handled by the WebHeaderCollection. That is, the values of Set-Cookie, when an Expires is specified, contain the ","...
0
by: Denver Developer | last post by:
I have a cookie that is set by a previous ASP page that I wish to update with the following logic. MyCookieColl = Request.Cookies; for (loop1 = 0; loop1 < MyCookieColl.Count ; loop1++) {...
3
by: Wysiwyg | last post by:
After a server created cookie is processed on the client I want it removed, cleared, or expired in the javascript block but have been unable to do this. If I set a cookie value in the server code...
5
by: Miljana | last post by:
Hi, I have one problem with cookies in ASP.NET application. It seems that I can not retreive cookie from Request.Cookies collection. I put cookie in Response.Cookies collection, and after page...
0
by: tshad | last post by:
I can add a cookie fine, but I can't seem to figure out how to change the value of a cookie and save it back. My code looks like: if (passwordSaveCookie.checked) then If...
1
by: CR1 | last post by:
I found a great cookie script below, but don't know how to make it also pass the values sent to the cookie, to a querystring as well for tracking purposes. Can anyone help? If there was a way to...
4
by: D. | last post by:
Hi, I defined some cookies in order to pass values between pages in my application. The problem is that when i request them with: cookie = Request.Cookies("mycookie") x = cookie.Value (suppose...
4
by: Vlad Dogaru | last post by:
Hello, I am trying to use cookies and Python to create a simple login example. But I am very disoriented at the existence of two cookie libraries, namely Cookie and cookielib. I have seen...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.