Ask a Question related to Dreamweaver AppDev, Design and Development.
-
PA #1
Storing link text to a Cookie or Session Variable
Another one of those "It sounds easy enough to do, but...."
I need to store the value/text displayed as a hyperlink to either a Cookie or
Session Variable, when the user clicks the link.
Any quick code samples or advise would be much appreciated!
Thanks
PA Guest
-
Storing additional data in the session cookie
yes of course u can either use setcookie or session_register "Ladana Spak" <tz@x-over.com> wrote in message... -
#25629 [Opn->Bgs]: session cookie being set to deleted when deleting a session
ID: 25629 Updated by: sniper@php.net Reported By: john at tarot dot com -Status: Open +Status: Bogus... -
#25465 [Opn]: Session lost, session.cookie.lifetime
ID: 25465 User updated by: sam dot houlder at teleperfomance dot no Reported By: sam dot houlder at teleperfomance dot no... -
#25465 [NEW]: Session lost, session.cookie.lifetime
From: sam dot houlder at teleperfomance dot no Operating system: Linux PHP version: 4.3.3 PHP Bug Type: Session related Bug... -
authentication cookie vs session cookie
Hi, What are the differences between authentication and session cookies? In my web.config file, I set the cookieless attribute for the... -
Julian Roberts #2
Re: Storing link text to a Cookie or Session Variable
You can use the A tag to link to other pages. The HREF attribute is then
used to specify the page togo to. eg
<a href="<%=Session("foo")%>">
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
PA #3
Re: Storing link text to a Cookie or Session Variable
Thanks Jules,
I forgot to mention that the link is based on dynamic data. Here's a sample of
the code:
<a href="details.asp?<%= Server.HTMLEncode(MM_keepNone) &
MM_joinChar(MM_keepNone) & "id=" & rsRecentWork.Fields.Item("recordID").Value
%>" target="_blank">
<%=LEFT((rsRecentWork.Fields.Item("details").Value ),100)%>
I need to store the recordID value to a session after link is clicked - what
do I need to change to accomplish this?
Thanks again!
PA Guest
-
Kindler Chase #4
Re: Storing link text to a Cookie or Session Variable
PA wrote:
You need to request the recordID on the next page. It's not uncommon to send> Thanks Jules,
>
> I forgot to mention that the link is based on dynamic data. Here's a
> sample of the code:
>
> <a href="details.asp?<%= Server.HTMLEncode(MM_keepNone) &
> MM_joinChar(MM_keepNone) & "id=" &
> rsRecentWork.Fields.Item("recordID").Value %>" target="_blank">
>
> <%=LEFT((rsRecentWork.Fields.Item("details").Value ),100)%>
>
> I need to store the recordID value to a session after link is
> clicked - what do I need to change to accomplish this?
a page to a "silent" page that records an ID into a DB, session, cookie,
etc... and then redirect the user to the appropriate page; the process is
silent and the user is unaware of being redirected.
--
kindler chase
[url]http://www.ncubed.com[/url]
Home of SuperInvoice: The Online Invoicing Application.
Organize your billing process and impress your clients.
[url]news://news.ncubed.com/support[/url]
n3 Support Group
Kindler Chase Guest



Reply With Quote

