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

  • Home
  • SEARCH
  • 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 7747539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:33:18+00:00 2026-06-01T10:33:18+00:00

I have this code in my index.php. In Mozilla its ok. But in Ie

  • 0

I have this code in my index.php. In Mozilla its ok. But in Ie i got an error.

I need a litle help to fix this.

The user fill the form in SITEB.php and after send and successfull i redirect to index.php, clear all my variable, cookies, etc…to avoid to send again, or access information..blabla…

The part of the code is the following, where the error is:

Source code:

<?php if (isset($_SESSION['mail_succ'])) { echo "<div id='msg_succ'>";  echo 'Sucess, contact you soon...'; echo "</div>"; unset($_SESSION['mail_succ']);session_destroy();echo "<script type='text/javascript'>    $.cookie('chiteltip', null);     $.cookie('hitel', '8');     $.cookie('hiteltip', '8');     $.cookie('teher', '8'); $.cookie('teherm2', '8');  $.cookie('ingatlan', '8'); </script>";}?>

View the source after redirect:

 <div id='msg_succ'>Sucess, contact you soon...</div><script type='text/javascript'>    $.cookie('chiteltip', null);     $.cookie('hitel', '8');     $.cookie('hiteltip', '8');     $.cookie('teher', '8'); $.cookie('teherm2', '8');  $.cookie('ingatlan', '8'); </script>

Thank you for the help

  • 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-06-01T10:33:20+00:00Added an answer on June 1, 2026 at 10:33 am

    Rather than doing $.cookie('xyz',null)…do setcookie('xyz',time()-3600)

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

Sidebar

Related Questions

i have used this code in my index.php to get user facebook first name
i need some help in this htaccess code RewriteRule ^([0-9a-z\-\_]+)?$ /index.php?url=$1 [L,QSA,NC] This code
I have this code: $('#checkout').click(function() { $.ajax({ type: 'GET', url: 'index.php?route=payment/quatro/confirm', success: function() {
I have this htaccess code: RewriteEngine on RewriteBase /xm/ RewriteCond %{REQUEST_URI} !^/index.php$ RewriteRule ^([a-z0-9]*)\.php$
I have this .htaccess RewriteRules, that doesn't work. RewriteRule ^(.+)\/(.+)\/$ /index.php?pg=$1&act=$2 What this code
I have this simple code in my user_controller.rb file #listing all users def index
My htaccess have this code # # Apache/PHP settings: # Options -Indexes Options +FollowSymLinks
I have the following php code: index.php <?php spl_autoload_extensions(.php); spl_autoload_register(); use modules\standard as std;
I have this line of code: <a href=# id=profilelink name=profilelink value=<?php echo $id./.$block_record;?> onClick=return
I have this code: <div id=menu> <ul> <li><span id=menulabel>Your Languages</span></li> <?php $hotClass = '';

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.