Hi

I have a strange problem with cookies.

Problem:
I have a link in my site navigates to a different Site.
Some links will be provided at the other site through
which a user navigates to our site. But when i Return my
session needs to remain in my Site and user need not to
login again.

For this I have created two cookies with two values before
navigating to other site. When I return I could not able
to retrieve those two cookie values at very first time.
From next time onwards I am able to retrieve.

So, if any one can give some solution why is this
happening for the very first time. Or Any possible
solution for this scenario greatly helps us.

thanks in advance.

thanks
srinivas moorthy

Re: Cookies Creation by McKirahan

McKirahan
Mon Dec 29 05:31:20 CST 2003

"srinivas moorthy" <srinivas_moorthy@hotmail.com> wrote in message
news:052e01c3cdf9$584f2b00$a501280a@phx.gbl...
> Hi
>
> I have a strange problem with cookies.
>
> Problem:
> I have a link in my site navigates to a different Site.
> Some links will be provided at the other site through
> which a user navigates to our site. But when i Return my
> session needs to remain in my Site and user need not to
> login again.
>
> For this I have created two cookies with two values before
> navigating to other site. When I return I could not able
> to retrieve those two cookie values at very first time.
> From next time onwards I am able to retrieve.
>
> So, if any one can give some solution why is this
> happening for the very first time. Or Any possible
> solution for this scenario greatly helps us.
>
> thanks in advance.
>
> thanks
> srinivas moorthy

Probably not what you're looking for, but...

Have each link open a new unique window:

<a href="http://{domain}/{page}" target="_blank">{link page}</a>

Or have each link open in the same new window:

<a href="http://{domain}/{page}" target="link">{link page}</a>



Re: Cookies Creation by srinivas_moorthy

srinivas_moorthy
Mon Dec 29 06:18:01 CST 2003

Hi,
It openes in the same window. Not at all a different
window.

thanks for your fast reply.

srini
>-----Original Message-----
>"srinivas moorthy" <srinivas_moorthy@hotmail.com> wrote
in message
>news:052e01c3cdf9$584f2b00$a501280a@phx.gbl...
>> Hi
>>
>> I have a strange problem with cookies.
>>
>> Problem:
>> I have a link in my site navigates to a different Site.
>> Some links will be provided at the other site through
>> which a user navigates to our site. But when i Return my
>> session needs to remain in my Site and user need not to
>> login again.
>>
>> For this I have created two cookies with two values
before
>> navigating to other site. When I return I could not able
>> to retrieve those two cookie values at very first time.
>> From next time onwards I am able to retrieve.
>>
>> So, if any one can give some solution why is this
>> happening for the very first time. Or Any possible
>> solution for this scenario greatly helps us.
>>
>> thanks in advance.
>>
>> thanks
>> srinivas moorthy
>
>Probably not what you're looking for, but...
>
>Have each link open a new unique window:
>
><a href="http://{domain}/{page}" target="_blank">{link
page}</a>
>
>Or have each link open in the same new window:
>
><a href="http://{domain}/{page}" target="link">{link page}
</a>
>
>
>.
>

Re: Cookies Creation by McKirahan

McKirahan
Mon Dec 29 06:51:18 CST 2003

"srinivas_moorthy" <anonymous@discussions.microsoft.com> wrote in message
news:05a601c3ce05$cdd1c160$a501280a@phx.gbl...
> Hi,
> It openes in the same window. Not at all a different
> window.
>
> thanks for your fast reply.
>
> srini

My suggestion was to have the links open in a new window so you don't have
to determine if a visitor has returned to your site (since they've never
left your site).